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/tulip/xircom_tulip_cb.c | |
parent | 76fd85937097a0c2ec8ab23bf21dc10992d1c398 (diff) |
drivers/net: const-ify ethtool_ops declarations
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/tulip/xircom_tulip_cb.c')
-rw-r--r-- | drivers/net/tulip/xircom_tulip_cb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/tulip/xircom_tulip_cb.c b/drivers/net/tulip/xircom_tulip_cb.c index d797b7b2e35f..312788caa4c6 100644 --- a/drivers/net/tulip/xircom_tulip_cb.c +++ b/drivers/net/tulip/xircom_tulip_cb.c | |||
@@ -334,7 +334,7 @@ static struct net_device_stats *xircom_get_stats(struct net_device *dev); | |||
334 | static int xircom_ioctl(struct net_device *dev, struct ifreq *rq, int cmd); | 334 | static int xircom_ioctl(struct net_device *dev, struct ifreq *rq, int cmd); |
335 | static void set_rx_mode(struct net_device *dev); | 335 | static void set_rx_mode(struct net_device *dev); |
336 | static void check_duplex(struct net_device *dev); | 336 | static void check_duplex(struct net_device *dev); |
337 | static struct ethtool_ops ops; | 337 | static const struct ethtool_ops ops; |
338 | 338 | ||
339 | 339 | ||
340 | /* The Xircom cards are picky about when certain bits in CSR6 can be | 340 | /* The Xircom cards are picky about when certain bits in CSR6 can be |
@@ -1430,7 +1430,7 @@ static void xircom_get_drvinfo(struct net_device *dev, struct ethtool_drvinfo *i | |||
1430 | strcpy(info->bus_info, pci_name(tp->pdev)); | 1430 | strcpy(info->bus_info, pci_name(tp->pdev)); |
1431 | } | 1431 | } |
1432 | 1432 | ||
1433 | static struct ethtool_ops ops = { | 1433 | static const struct ethtool_ops ops = { |
1434 | .get_settings = xircom_get_settings, | 1434 | .get_settings = xircom_get_settings, |
1435 | .set_settings = xircom_set_settings, | 1435 | .set_settings = xircom_set_settings, |
1436 | .get_drvinfo = xircom_get_drvinfo, | 1436 | .get_drvinfo = xircom_get_drvinfo, |