aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/fealnx.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/fealnx.c')
-rw-r--r--drivers/net/fealnx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/fealnx.c b/drivers/net/fealnx.c
index b7f471651df1..191bd429076a 100644
--- a/drivers/net/fealnx.c
+++ b/drivers/net/fealnx.c
@@ -440,7 +440,7 @@ static void set_rx_mode(struct net_device *dev);
440static void __set_rx_mode(struct net_device *dev); 440static void __set_rx_mode(struct net_device *dev);
441static struct net_device_stats *get_stats(struct net_device *dev); 441static struct net_device_stats *get_stats(struct net_device *dev);
442static int mii_ioctl(struct net_device *dev, struct ifreq *rq, int cmd); 442static int mii_ioctl(struct net_device *dev, struct ifreq *rq, int cmd);
443static struct ethtool_ops netdev_ethtool_ops; 443static const struct ethtool_ops netdev_ethtool_ops;
444static int netdev_close(struct net_device *dev); 444static int netdev_close(struct net_device *dev);
445static void reset_rx_descriptors(struct net_device *dev); 445static void reset_rx_descriptors(struct net_device *dev);
446static void reset_tx_descriptors(struct net_device *dev); 446static void reset_tx_descriptors(struct net_device *dev);
@@ -1885,7 +1885,7 @@ static void netdev_set_msglevel(struct net_device *dev, u32 value)
1885 debug = value; 1885 debug = value;
1886} 1886}
1887 1887
1888static struct ethtool_ops netdev_ethtool_ops = { 1888static const struct ethtool_ops netdev_ethtool_ops = {
1889 .get_drvinfo = netdev_get_drvinfo, 1889 .get_drvinfo = netdev_get_drvinfo,
1890 .get_settings = netdev_get_settings, 1890 .get_settings = netdev_get_settings,
1891 .set_settings = netdev_set_settings, 1891 .set_settings = netdev_set_settings,