]> git.baikalelectronics.ru Git - 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)
commitea1cf10bdc509962a27a2f317aaec32692dac65d
treeb8e8eb9e850ab0000faf84d92248ef5d65663347
parent85a6e74d041d060265c282c21d516730c51752ee
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