]> 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)
commit1ad1a3ad23c8da92336346eb1ff84861d0bd23e2
treeb8e8eb9e850ab0000faf84d92248ef5d65663347
parentfcbbb8f884fa1a9e7f6ec60039e92ff765a74bba
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