forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-10 9999e48639b3cecb08ffb37358bcba3b48161b29
kernel/drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c
....@@ -1,10 +1,6 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /*
23 * Copyright (c) 2014-2015 Hisilicon Limited.
3
- *
4
- * This program is free software; you can redistribute it and/or modify
5
- * it under the terms of the GNU General Public License as published by
6
- * the Free Software Foundation; either version 2 of the License, or
7
- * (at your option) any later version.
84 */
95
106 #include <linux/delay.h>
....@@ -325,7 +321,7 @@
325321 hns_gmac_set_uc_match(mac_drv, en);
326322 }
327323
328
-int hns_gmac_wait_fifo_clean(void *mac_drv)
324
+static int hns_gmac_wait_fifo_clean(void *mac_drv)
329325 {
330326 struct mac_driver *drv = (struct mac_driver *)mac_drv;
331327 int wait_cnt;