alistair23-linux/drivers/net/ethernet/hisilicon
Baoyou Xie 49e3e6f34d net: hip04: mark tx_done() static
We get 1 warning when building kernel with W=1:
drivers/net/ethernet/hisilicon/hip04_eth.c:603:22: warning: no previous prototype for 'tx_done' [-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-26 02:23:39 -04:00
..
hns net: ethernet: hisilicon: hns: use new api ethtool_{get|set}_link_ksettings 2016-09-22 02:11:40 -04:00
hip04_eth.c net: hip04: mark tx_done() static 2016-09-26 02:23:39 -04:00
hisi_femac.c net: hisilicon: mark symbols static where possible 2016-09-26 02:23:39 -04:00
hix5hd2_gmac.c net: hisilicon: constify ethtool_ops structures 2016-08-31 09:22:31 -07:00
hns_mdio.c net: hns: get reset registers from DT 2016-07-01 16:56:52 -04:00
Kconfig net: hisilicon: Add Fast Ethernet MAC driver 2016-07-16 21:32:58 -07:00
Makefile net: hisilicon: Add Fast Ethernet MAC driver 2016-07-16 21:32:58 -07:00