aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/pcmcia/3c589_cs.c
diff options
context:
space:
mode:
authorJeff Garzik <jeff@garzik.org>2006-09-13 14:30:00 -0400
committerJeff Garzik <jeff@garzik.org>2006-09-13 14:30:00 -0400
commit7282d491ecaee9883233a0e27283c4c79486279a (patch)
tree172ffa70716f5493db57976ceef7652120b3332f /drivers/net/pcmcia/3c589_cs.c
parent76fd85937097a0c2ec8ab23bf21dc10992d1c398 (diff)
drivers/net: const-ify ethtool_ops declarations
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/pcmcia/3c589_cs.c')
-rw-r--r--drivers/net/pcmcia/3c589_cs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/pcmcia/3c589_cs.c b/drivers/net/pcmcia/3c589_cs.c
index 875a0fe251e7..a0e2b01c027c 100644
--- a/drivers/net/pcmcia/3c589_cs.c
+++ b/drivers/net/pcmcia/3c589_cs.c
@@ -158,7 +158,7 @@ static int el3_rx(struct net_device *dev);
158static int el3_close(struct net_device *dev); 158static int el3_close(struct net_device *dev);
159static void el3_tx_timeout(struct net_device *dev); 159static void el3_tx_timeout(struct net_device *dev);
160static void set_multicast_list(struct net_device *dev); 160static void set_multicast_list(struct net_device *dev);
161static struct ethtool_ops netdev_ethtool_ops; 161static const struct ethtool_ops netdev_ethtool_ops;
162 162
163static void tc589_detach(struct pcmcia_device *p_dev); 163static void tc589_detach(struct pcmcia_device *p_dev);
164 164
@@ -530,7 +530,7 @@ static void netdev_set_msglevel(struct net_device *dev, u32 level)
530} 530}
531#endif /* PCMCIA_DEBUG */ 531#endif /* PCMCIA_DEBUG */
532 532
533static struct ethtool_ops netdev_ethtool_ops = { 533static const struct ethtool_ops netdev_ethtool_ops = {
534 .get_drvinfo = netdev_get_drvinfo, 534 .get_drvinfo = netdev_get_drvinfo,
535#ifdef PCMCIA_DEBUG 535#ifdef PCMCIA_DEBUG
536 .get_msglevel = netdev_get_msglevel, 536 .get_msglevel = netdev_get_msglevel,