]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
net: arc_emac: mark arc_mdio_reset() static
authorBaoyou Xie <baoyou.xie@linaro.org>
Tue, 6 Sep 2016 08:21:56 +0000 (16:21 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 6 Sep 2016 22:58:59 +0000 (15:58 -0700)
commit3f591997b1484cbf869d21b511c8d84902444cfb
treeb8e8eb9e850ab0000faf84d92248ef5d65663347
parente0c79ff6286f534f3e9fadab529b0ce1e2c6d917
net: arc_emac: mark arc_mdio_reset() static

We get 1 warning when building kernel with W=1:
drivers/net/ethernet/arc/emac_mdio.c:107:5: warning: no previous prototype for 'arc_mdio_reset' [-Wmissing-prototypes]

In fact, this function is only used in the file in which it is
declared and don't need a declaration, but can be made static.
so this patch marks this function with 'static'.

Signed-off-by: Baoyou Xie <baoyou.xie@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/arc/emac_mdio.c