Merge tag 'nfs-for-4.20-1' of git://git.linux-nfs.org/projects/trondmy/linux-nfs
[sfrench/cifs-2.6.git] / drivers / net / ethernet / hisilicon / hns / hns_dsaf_gmac.c
index 09e4061d1fa60a80584b47cea3725374606a429d..aaf72c055711ce2051d982c3f91b4fb674117a29 100644 (file)
@@ -319,7 +319,7 @@ static void hns_gmac_set_promisc(void *mac_drv, u8 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;
        int wait_cnt;