OpenCloudOS-Kernel/drivers/net/ethernet/arc
Baoyou Xie 3f591997b1 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>
2016-09-06 15:58:59 -07:00
..
Kconfig net: ethernet: arc: Add support emac for RK3036 2016-01-10 22:21:31 -05:00
Makefile ethernet: arc: Add support for Rockchip SoC layer device tree bindings 2014-09-09 17:29:59 -07:00
emac.h net: ethernet: arc: emac: use phydev from struct net_device 2016-07-04 15:59:52 -07:00
emac_arc.c net: arc: Fix module autoload for OF platform driver 2015-09-21 16:08:20 -07:00
emac_main.c net: arc_emac: add missing of_node_put() in arc_emac_probe() 2016-08-06 00:07:38 -04:00
emac_mdio.c net: arc_emac: mark arc_mdio_reset() static 2016-09-06 15:58:59 -07:00
emac_rockchip.c net: arc: trivial: cleanup the emac driver 2016-03-16 19:28:01 -04:00