net: hns: make function hns_gmac_wait_fifo_clean() static

Fixes the following sparse warning:

drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c:322:5: warning:
 symbol 'hns_gmac_wait_fifo_clean' was not declared. Should it be static?

Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Wei Yongjun 2018-09-15 01:42:09 +00:00 committed by David S. Miller
parent b8b2de91e9
commit 0a959e4584
1 changed files with 1 additions and 1 deletions

View File

@ -319,7 +319,7 @@ static void hns_gmac_set_promisc(void *mac_drv, u8 en)
hns_gmac_set_uc_match(mac_drv, en); hns_gmac_set_uc_match(mac_drv, en);
} }
int hns_gmac_wait_fifo_clean(void *mac_drv) static int hns_gmac_wait_fifo_clean(void *mac_drv)
{ {
struct mac_driver *drv = (struct mac_driver *)mac_drv; struct mac_driver *drv = (struct mac_driver *)mac_drv;
int wait_cnt; int wait_cnt;