diff options
Diffstat (limited to 'drivers/net/3c59x.c')
-rw-r--r-- | drivers/net/3c59x.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/3c59x.c b/drivers/net/3c59x.c index 5ca7a563f0ba..e1e53bbd150b 100644 --- a/drivers/net/3c59x.c +++ b/drivers/net/3c59x.c | |||
@@ -729,7 +729,7 @@ static int vortex_ioctl(struct net_device *dev, struct ifreq *rq, int cmd); | |||
729 | #endif | 729 | #endif |
730 | static void vortex_tx_timeout(struct net_device *dev); | 730 | static void vortex_tx_timeout(struct net_device *dev); |
731 | static void acpi_set_WOL(struct net_device *dev); | 731 | static void acpi_set_WOL(struct net_device *dev); |
732 | static struct ethtool_ops vortex_ethtool_ops; | 732 | static const struct ethtool_ops vortex_ethtool_ops; |
733 | static void set_8021q_mode(struct net_device *dev, int enable); | 733 | static void set_8021q_mode(struct net_device *dev, int enable); |
734 | 734 | ||
735 | /* This driver uses 'options' to pass the media type, full-duplex flag, etc. */ | 735 | /* This driver uses 'options' to pass the media type, full-duplex flag, etc. */ |
@@ -2873,7 +2873,7 @@ static void vortex_get_drvinfo(struct net_device *dev, | |||
2873 | } | 2873 | } |
2874 | } | 2874 | } |
2875 | 2875 | ||
2876 | static struct ethtool_ops vortex_ethtool_ops = { | 2876 | static const struct ethtool_ops vortex_ethtool_ops = { |
2877 | .get_drvinfo = vortex_get_drvinfo, | 2877 | .get_drvinfo = vortex_get_drvinfo, |
2878 | .get_strings = vortex_get_strings, | 2878 | .get_strings = vortex_get_strings, |
2879 | .get_msglevel = vortex_get_msglevel, | 2879 | .get_msglevel = vortex_get_msglevel, |