aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/pcmcia/xirc2ps_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/xirc2ps_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/xirc2ps_cs.c')
-rw-r--r--drivers/net/pcmcia/xirc2ps_cs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/pcmcia/xirc2ps_cs.c b/drivers/net/pcmcia/xirc2ps_cs.c
index 4122bb46f5ff..62664c01eb45 100644
--- a/drivers/net/pcmcia/xirc2ps_cs.c
+++ b/drivers/net/pcmcia/xirc2ps_cs.c
@@ -361,7 +361,7 @@ static int set_card_type(struct pcmcia_device *link, const void *s);
361static int do_config(struct net_device *dev, struct ifmap *map); 361static int do_config(struct net_device *dev, struct ifmap *map);
362static int do_open(struct net_device *dev); 362static int do_open(struct net_device *dev);
363static int do_ioctl(struct net_device *dev, struct ifreq *rq, int cmd); 363static int do_ioctl(struct net_device *dev, struct ifreq *rq, int cmd);
364static struct ethtool_ops netdev_ethtool_ops; 364static const struct ethtool_ops netdev_ethtool_ops;
365static void hardreset(struct net_device *dev); 365static void hardreset(struct net_device *dev);
366static void do_reset(struct net_device *dev, int full); 366static void do_reset(struct net_device *dev, int full);
367static int init_mii(struct net_device *dev); 367static int init_mii(struct net_device *dev);
@@ -1553,7 +1553,7 @@ static void netdev_get_drvinfo(struct net_device *dev,
1553 sprintf(info->bus_info, "PCMCIA 0x%lx", dev->base_addr); 1553 sprintf(info->bus_info, "PCMCIA 0x%lx", dev->base_addr);
1554} 1554}
1555 1555
1556static struct ethtool_ops netdev_ethtool_ops = { 1556static const struct ethtool_ops netdev_ethtool_ops = {
1557 .get_drvinfo = netdev_get_drvinfo, 1557 .get_drvinfo = netdev_get_drvinfo,
1558}; 1558};
1559 1559