diff options
author | Jeff Garzik <jeff@garzik.org> | 2006-09-13 14:30:00 -0400 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2006-09-13 14:30:00 -0400 |
commit | 7282d491ecaee9883233a0e27283c4c79486279a (patch) | |
tree | 172ffa70716f5493db57976ceef7652120b3332f /drivers/net/via-rhine.c | |
parent | 76fd85937097a0c2ec8ab23bf21dc10992d1c398 (diff) |
drivers/net: const-ify ethtool_ops declarations
Signed-off-by: Jeff Garzik <jeff@garzik.org>
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, |