diff options
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 | ||