diff options
author | Jeff Garzik <jeff@garzik.org> | 2006-09-13 14:30:00 -0400 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2006-09-13 14:30:00 -0400 |
commit | 7282d491ecaee9883233a0e27283c4c79486279a (patch) | |
tree | 172ffa70716f5493db57976ceef7652120b3332f /drivers/net/3c523.c | |
parent | 76fd85937097a0c2ec8ab23bf21dc10992d1c398 (diff) |
drivers/net: const-ify ethtool_ops declarations
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/3c523.c')
-rw-r--r-- | drivers/net/3c523.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/3c523.c b/drivers/net/3c523.c index 3364eb4aff1e..cf8a0bc3bf34 100644 --- a/drivers/net/3c523.c +++ b/drivers/net/3c523.c | |||
@@ -189,7 +189,7 @@ static void elmc_timeout(struct net_device *dev); | |||
189 | #ifdef ELMC_MULTICAST | 189 | #ifdef ELMC_MULTICAST |
190 | static void set_multicast_list(struct net_device *dev); | 190 | static void set_multicast_list(struct net_device *dev); |
191 | #endif | 191 | #endif |
192 | static struct ethtool_ops netdev_ethtool_ops; | 192 | static const struct ethtool_ops netdev_ethtool_ops; |
193 | 193 | ||
194 | /* helper-functions */ | 194 | /* helper-functions */ |
195 | static int init586(struct net_device *dev); | 195 | static int init586(struct net_device *dev); |
@@ -1259,7 +1259,7 @@ static void netdev_get_drvinfo(struct net_device *dev, | |||
1259 | sprintf(info->bus_info, "MCA 0x%lx", dev->base_addr); | 1259 | sprintf(info->bus_info, "MCA 0x%lx", dev->base_addr); |
1260 | } | 1260 | } |
1261 | 1261 | ||
1262 | static struct ethtool_ops netdev_ethtool_ops = { | 1262 | static const struct ethtool_ops netdev_ethtool_ops = { |
1263 | .get_drvinfo = netdev_get_drvinfo, | 1263 | .get_drvinfo = netdev_get_drvinfo, |
1264 | }; | 1264 | }; |
1265 | 1265 | ||