diff options
Diffstat (limited to 'drivers/net/fealnx.c')
-rw-r--r-- | drivers/net/fealnx.c | 4 |
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); | |||
440 | static void __set_rx_mode(struct net_device *dev); | 440 | static void __set_rx_mode(struct net_device *dev); |
441 | static struct net_device_stats *get_stats(struct net_device *dev); | 441 | static struct net_device_stats *get_stats(struct net_device *dev); |
442 | static int mii_ioctl(struct net_device *dev, struct ifreq *rq, int cmd); | 442 | static int mii_ioctl(struct net_device *dev, struct ifreq *rq, int cmd); |
443 | static struct ethtool_ops netdev_ethtool_ops; | 443 | static const struct ethtool_ops netdev_ethtool_ops; |
444 | static int netdev_close(struct net_device *dev); | 444 | static int netdev_close(struct net_device *dev); |
445 | static void reset_rx_descriptors(struct net_device *dev); | 445 | static void reset_rx_descriptors(struct net_device *dev); |
446 | static void reset_tx_descriptors(struct net_device *dev); | 446 | static 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 | ||
1888 | static struct ethtool_ops netdev_ethtool_ops = { | 1888 | static 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, |