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/pcmcia/nmclan_cs.c | |
parent | 76fd85937097a0c2ec8ab23bf21dc10992d1c398 (diff) |
drivers/net: const-ify ethtool_ops declarations
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/pcmcia/nmclan_cs.c')
-rw-r--r-- | drivers/net/pcmcia/nmclan_cs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/pcmcia/nmclan_cs.c b/drivers/net/pcmcia/nmclan_cs.c index a8f6bfc96fd2..7d5687e94607 100644 --- a/drivers/net/pcmcia/nmclan_cs.c +++ b/drivers/net/pcmcia/nmclan_cs.c | |||
@@ -431,7 +431,7 @@ static struct net_device_stats *mace_get_stats(struct net_device *dev); | |||
431 | static int mace_rx(struct net_device *dev, unsigned char RxCnt); | 431 | static int mace_rx(struct net_device *dev, unsigned char RxCnt); |
432 | static void restore_multicast_list(struct net_device *dev); | 432 | static void restore_multicast_list(struct net_device *dev); |
433 | static void set_multicast_list(struct net_device *dev); | 433 | static void set_multicast_list(struct net_device *dev); |
434 | static struct ethtool_ops netdev_ethtool_ops; | 434 | static const struct ethtool_ops netdev_ethtool_ops; |
435 | 435 | ||
436 | 436 | ||
437 | static void nmclan_detach(struct pcmcia_device *p_dev); | 437 | static void nmclan_detach(struct pcmcia_device *p_dev); |
@@ -907,7 +907,7 @@ static void netdev_set_msglevel(struct net_device *dev, u32 level) | |||
907 | } | 907 | } |
908 | #endif /* PCMCIA_DEBUG */ | 908 | #endif /* PCMCIA_DEBUG */ |
909 | 909 | ||
910 | static struct ethtool_ops netdev_ethtool_ops = { | 910 | static const struct ethtool_ops netdev_ethtool_ops = { |
911 | .get_drvinfo = netdev_get_drvinfo, | 911 | .get_drvinfo = netdev_get_drvinfo, |
912 | #ifdef PCMCIA_DEBUG | 912 | #ifdef PCMCIA_DEBUG |
913 | .get_msglevel = netdev_get_msglevel, | 913 | .get_msglevel = netdev_get_msglevel, |