aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/3c59x.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/3c59x.c
parent76fd85937097a0c2ec8ab23bf21dc10992d1c398 (diff)
drivers/net: const-ify ethtool_ops declarations
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/3c59x.c')
-rw-r--r--drivers/net/3c59x.c4
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
730static void vortex_tx_timeout(struct net_device *dev); 730static void vortex_tx_timeout(struct net_device *dev);
731static void acpi_set_WOL(struct net_device *dev); 731static void acpi_set_WOL(struct net_device *dev);
732static struct ethtool_ops vortex_ethtool_ops; 732static const struct ethtool_ops vortex_ethtool_ops;
733static void set_8021q_mode(struct net_device *dev, int enable); 733static 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
2876static struct ethtool_ops vortex_ethtool_ops = { 2876static 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,