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/cris | |
parent | 76fd85937097a0c2ec8ab23bf21dc10992d1c398 (diff) |
drivers/net: const-ify ethtool_ops declarations
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/cris')
-rw-r--r-- | drivers/net/cris/eth_v10.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/cris/eth_v10.c b/drivers/net/cris/eth_v10.c index 0eb1f8787ed7..f1501b6f247e 100644 --- a/drivers/net/cris/eth_v10.c +++ b/drivers/net/cris/eth_v10.c | |||
@@ -434,7 +434,7 @@ static void e100_reset_transceiver(struct net_device* net); | |||
434 | static void e100_clear_network_leds(unsigned long dummy); | 434 | static void e100_clear_network_leds(unsigned long dummy); |
435 | static void e100_set_network_leds(int active); | 435 | static void e100_set_network_leds(int active); |
436 | 436 | ||
437 | static struct ethtool_ops e100_ethtool_ops; | 437 | static const struct ethtool_ops e100_ethtool_ops; |
438 | 438 | ||
439 | static void broadcom_check_speed(struct net_device* dev); | 439 | static void broadcom_check_speed(struct net_device* dev); |
440 | static void broadcom_check_duplex(struct net_device* dev); | 440 | static void broadcom_check_duplex(struct net_device* dev); |
@@ -1552,7 +1552,7 @@ static int e100_nway_reset(struct net_device *dev) | |||
1552 | return 0; | 1552 | return 0; |
1553 | } | 1553 | } |
1554 | 1554 | ||
1555 | static struct ethtool_ops e100_ethtool_ops = { | 1555 | static const struct ethtool_ops e100_ethtool_ops = { |
1556 | .get_settings = e100_get_settings, | 1556 | .get_settings = e100_get_settings, |
1557 | .set_settings = e100_set_settings, | 1557 | .set_settings = e100_set_settings, |
1558 | .get_drvinfo = e100_get_drvinfo, | 1558 | .get_drvinfo = e100_get_drvinfo, |