diff options
Diffstat (limited to 'drivers/net/pcmcia/xirc2ps_cs.c')
-rw-r--r-- | drivers/net/pcmcia/xirc2ps_cs.c | 4 |
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); | |||
361 | static int do_config(struct net_device *dev, struct ifmap *map); | 361 | static int do_config(struct net_device *dev, struct ifmap *map); |
362 | static int do_open(struct net_device *dev); | 362 | static int do_open(struct net_device *dev); |
363 | static int do_ioctl(struct net_device *dev, struct ifreq *rq, int cmd); | 363 | static int do_ioctl(struct net_device *dev, struct ifreq *rq, int cmd); |
364 | static struct ethtool_ops netdev_ethtool_ops; | 364 | static const struct ethtool_ops netdev_ethtool_ops; |
365 | static void hardreset(struct net_device *dev); | 365 | static void hardreset(struct net_device *dev); |
366 | static void do_reset(struct net_device *dev, int full); | 366 | static void do_reset(struct net_device *dev, int full); |
367 | static int init_mii(struct net_device *dev); | 367 | static 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 | ||
1556 | static struct ethtool_ops netdev_ethtool_ops = { | 1556 | static const struct ethtool_ops netdev_ethtool_ops = { |
1557 | .get_drvinfo = netdev_get_drvinfo, | 1557 | .get_drvinfo = netdev_get_drvinfo, |
1558 | }; | 1558 | }; |
1559 | 1559 | ||