diff options
Diffstat (limited to 'drivers/net/tulip/xircom_tulip_cb.c')
-rw-r--r-- | drivers/net/tulip/xircom_tulip_cb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/tulip/xircom_tulip_cb.c b/drivers/net/tulip/xircom_tulip_cb.c index d797b7b2e35f..312788caa4c6 100644 --- a/drivers/net/tulip/xircom_tulip_cb.c +++ b/drivers/net/tulip/xircom_tulip_cb.c | |||
@@ -334,7 +334,7 @@ static struct net_device_stats *xircom_get_stats(struct net_device *dev); | |||
334 | static int xircom_ioctl(struct net_device *dev, struct ifreq *rq, int cmd); | 334 | static int xircom_ioctl(struct net_device *dev, struct ifreq *rq, int cmd); |
335 | static void set_rx_mode(struct net_device *dev); | 335 | static void set_rx_mode(struct net_device *dev); |
336 | static void check_duplex(struct net_device *dev); | 336 | static void check_duplex(struct net_device *dev); |
337 | static struct ethtool_ops ops; | 337 | static const struct ethtool_ops ops; |
338 | 338 | ||
339 | 339 | ||
340 | /* The Xircom cards are picky about when certain bits in CSR6 can be | 340 | /* The Xircom cards are picky about when certain bits in CSR6 can be |
@@ -1430,7 +1430,7 @@ static void xircom_get_drvinfo(struct net_device *dev, struct ethtool_drvinfo *i | |||
1430 | strcpy(info->bus_info, pci_name(tp->pdev)); | 1430 | strcpy(info->bus_info, pci_name(tp->pdev)); |
1431 | } | 1431 | } |
1432 | 1432 | ||
1433 | static struct ethtool_ops ops = { | 1433 | static const struct ethtool_ops ops = { |
1434 | .get_settings = xircom_get_settings, | 1434 | .get_settings = xircom_get_settings, |
1435 | .set_settings = xircom_set_settings, | 1435 | .set_settings = xircom_set_settings, |
1436 | .get_drvinfo = xircom_get_drvinfo, | 1436 | .get_drvinfo = xircom_get_drvinfo, |