.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later |
---|
1 | 2 | /* |
---|
2 | 3 | * 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. |
---|
8 | 4 | */ |
---|
9 | 5 | |
---|
10 | 6 | #include <linux/delay.h> |
---|
.. | .. |
---|
325 | 321 | hns_gmac_set_uc_match(mac_drv, en); |
---|
326 | 322 | } |
---|
327 | 323 | |
---|
328 | | -int hns_gmac_wait_fifo_clean(void *mac_drv) |
---|
| 324 | +static int hns_gmac_wait_fifo_clean(void *mac_drv) |
---|
329 | 325 | { |
---|
330 | 326 | struct mac_driver *drv = (struct mac_driver *)mac_drv; |
---|
331 | 327 | int wait_cnt; |
---|