aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/via-rhine.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/via-rhine.c')
-rw-r--r--drivers/net/via-rhine.c4
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);
411static void rhine_set_rx_mode(struct net_device *dev); 411static void rhine_set_rx_mode(struct net_device *dev);
412static struct net_device_stats *rhine_get_stats(struct net_device *dev); 412static struct net_device_stats *rhine_get_stats(struct net_device *dev);
413static int netdev_ioctl(struct net_device *dev, struct ifreq *rq, int cmd); 413static int netdev_ioctl(struct net_device *dev, struct ifreq *rq, int cmd);
414static struct ethtool_ops netdev_ethtool_ops; 414static const struct ethtool_ops netdev_ethtool_ops;
415static int rhine_close(struct net_device *dev); 415static int rhine_close(struct net_device *dev);
416static void rhine_shutdown (struct pci_dev *pdev); 416static 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
1799static struct ethtool_ops netdev_ethtool_ops = { 1799static 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,