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/3c574_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/3c574_cs.c')
-rw-r--r-- | drivers/net/pcmcia/3c574_cs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/pcmcia/3c574_cs.c b/drivers/net/pcmcia/3c574_cs.c index fab93360f017..2418cdb9d317 100644 --- a/drivers/net/pcmcia/3c574_cs.c +++ b/drivers/net/pcmcia/3c574_cs.c | |||
@@ -245,7 +245,7 @@ static int el3_rx(struct net_device *dev, int worklimit); | |||
245 | static int el3_close(struct net_device *dev); | 245 | static int el3_close(struct net_device *dev); |
246 | static void el3_tx_timeout(struct net_device *dev); | 246 | static void el3_tx_timeout(struct net_device *dev); |
247 | static int el3_ioctl(struct net_device *dev, struct ifreq *rq, int cmd); | 247 | static int el3_ioctl(struct net_device *dev, struct ifreq *rq, int cmd); |
248 | static struct ethtool_ops netdev_ethtool_ops; | 248 | static const struct ethtool_ops netdev_ethtool_ops; |
249 | static void set_rx_mode(struct net_device *dev); | 249 | static void set_rx_mode(struct net_device *dev); |
250 | 250 | ||
251 | static void tc574_detach(struct pcmcia_device *p_dev); | 251 | static void tc574_detach(struct pcmcia_device *p_dev); |
@@ -1095,7 +1095,7 @@ static void netdev_get_drvinfo(struct net_device *dev, | |||
1095 | strcpy(info->driver, "3c574_cs"); | 1095 | strcpy(info->driver, "3c574_cs"); |
1096 | } | 1096 | } |
1097 | 1097 | ||
1098 | static struct ethtool_ops netdev_ethtool_ops = { | 1098 | static const struct ethtool_ops netdev_ethtool_ops = { |
1099 | .get_drvinfo = netdev_get_drvinfo, | 1099 | .get_drvinfo = netdev_get_drvinfo, |
1100 | }; | 1100 | }; |
1101 | 1101 | ||