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/yellowfin.c | |
parent | 76fd85937097a0c2ec8ab23bf21dc10992d1c398 (diff) |
drivers/net: const-ify ethtool_ops declarations
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/yellowfin.c')
-rw-r--r-- | drivers/net/yellowfin.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/yellowfin.c b/drivers/net/yellowfin.c index de11246b99e..a4c4953f136 100644 --- a/drivers/net/yellowfin.c +++ b/drivers/net/yellowfin.c | |||
@@ -356,7 +356,7 @@ static void yellowfin_error(struct net_device *dev, int intr_status); | |||
356 | static int yellowfin_close(struct net_device *dev); | 356 | static int yellowfin_close(struct net_device *dev); |
357 | static struct net_device_stats *yellowfin_get_stats(struct net_device *dev); | 357 | static struct net_device_stats *yellowfin_get_stats(struct net_device *dev); |
358 | static void set_rx_mode(struct net_device *dev); | 358 | static void set_rx_mode(struct net_device *dev); |
359 | static struct ethtool_ops ethtool_ops; | 359 | static const struct ethtool_ops ethtool_ops; |
360 | 360 | ||
361 | 361 | ||
362 | static int __devinit yellowfin_init_one(struct pci_dev *pdev, | 362 | static int __devinit yellowfin_init_one(struct pci_dev *pdev, |
@@ -1352,7 +1352,7 @@ static void yellowfin_get_drvinfo(struct net_device *dev, struct ethtool_drvinfo | |||
1352 | strcpy(info->bus_info, pci_name(np->pci_dev)); | 1352 | strcpy(info->bus_info, pci_name(np->pci_dev)); |
1353 | } | 1353 | } |
1354 | 1354 | ||
1355 | static struct ethtool_ops ethtool_ops = { | 1355 | static const struct ethtool_ops ethtool_ops = { |
1356 | .get_drvinfo = yellowfin_get_drvinfo | 1356 | .get_drvinfo = yellowfin_get_drvinfo |
1357 | }; | 1357 | }; |
1358 | 1358 | ||