diff options
Diffstat (limited to 'drivers/net/via-rhine.c')
-rw-r--r-- | drivers/net/via-rhine.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/via-rhine.c b/drivers/net/via-rhine.c index f7bc44f2d96a..acd0a91a09c3 100644 --- a/drivers/net/via-rhine.c +++ b/drivers/net/via-rhine.c | |||
@@ -411,7 +411,7 @@ static void rhine_error(struct net_device *dev, int intr_status); | |||
411 | static void rhine_set_rx_mode(struct net_device *dev); | 411 | static void rhine_set_rx_mode(struct net_device *dev); |
412 | static struct net_device_stats *rhine_get_stats(struct net_device *dev); | 412 | static struct net_device_stats *rhine_get_stats(struct net_device *dev); |
413 | static int netdev_ioctl(struct net_device *dev, struct ifreq *rq, int cmd); | 413 | static int netdev_ioctl(struct net_device *dev, struct ifreq *rq, int cmd); |
414 | static struct ethtool_ops netdev_ethtool_ops; | 414 | static const struct ethtool_ops netdev_ethtool_ops; |
415 | static int rhine_close(struct net_device *dev); | 415 | static int rhine_close(struct net_device *dev); |
416 | static void rhine_shutdown (struct pci_dev *pdev); | 416 | static void rhine_shutdown (struct pci_dev *pdev); |
417 | 417 | ||
@@ -1796,7 +1796,7 @@ static int rhine_set_wol(struct net_device *dev, struct ethtool_wolinfo *wol) | |||
1796 | return 0; | 1796 | return 0; |
1797 | } | 1797 | } |
1798 | 1798 | ||
1799 | static struct ethtool_ops netdev_ethtool_ops = { | 1799 | static const struct ethtool_ops netdev_ethtool_ops = { |
1800 | .get_drvinfo = netdev_get_drvinfo, | 1800 | .get_drvinfo = netdev_get_drvinfo, |
1801 | .get_settings = netdev_get_settings, | 1801 | .get_settings = netdev_get_settings, |
1802 | .set_settings = netdev_set_settings, | 1802 | .set_settings = netdev_set_settings, |