diff options
| -rw-r--r-- | drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c b/drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c index 2ae4d39798c1..379c01dddbf8 100644 --- a/drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c +++ b/drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c | |||
| @@ -876,8 +876,8 @@ static int hns3_nway_reset(struct net_device *netdev) | |||
| 876 | return genphy_restart_aneg(phy); | 876 | return genphy_restart_aneg(phy); |
| 877 | } | 877 | } |
| 878 | 878 | ||
| 879 | void hns3_get_channels(struct net_device *netdev, | 879 | static void hns3_get_channels(struct net_device *netdev, |
| 880 | struct ethtool_channels *ch) | 880 | struct ethtool_channels *ch) |
| 881 | { | 881 | { |
| 882 | struct hnae3_handle *h = hns3_get_handle(netdev); | 882 | struct hnae3_handle *h = hns3_get_handle(netdev); |
| 883 | 883 | ||
