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/pcmcia/smc91c92_cs.c | |
parent | 76fd85937097a0c2ec8ab23bf21dc10992d1c398 (diff) |
drivers/net: const-ify ethtool_ops declarations
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/pcmcia/smc91c92_cs.c')
-rw-r--r-- | drivers/net/pcmcia/smc91c92_cs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/pcmcia/smc91c92_cs.c b/drivers/net/pcmcia/smc91c92_cs.c index 3fb369f2e7ed..a2f3a0e2a005 100644 --- a/drivers/net/pcmcia/smc91c92_cs.c +++ b/drivers/net/pcmcia/smc91c92_cs.c | |||
@@ -299,7 +299,7 @@ static void mdio_sync(kio_addr_t addr); | |||
299 | static int mdio_read(struct net_device *dev, int phy_id, int loc); | 299 | static int mdio_read(struct net_device *dev, int phy_id, int loc); |
300 | static void mdio_write(struct net_device *dev, int phy_id, int loc, int value); | 300 | static void mdio_write(struct net_device *dev, int phy_id, int loc, int value); |
301 | static int smc_link_ok(struct net_device *dev); | 301 | static int smc_link_ok(struct net_device *dev); |
302 | static struct ethtool_ops ethtool_ops; | 302 | static const struct ethtool_ops ethtool_ops; |
303 | 303 | ||
304 | /*====================================================================== | 304 | /*====================================================================== |
305 | 305 | ||
@@ -2207,7 +2207,7 @@ static int smc_nway_reset(struct net_device *dev) | |||
2207 | return -EOPNOTSUPP; | 2207 | return -EOPNOTSUPP; |
2208 | } | 2208 | } |
2209 | 2209 | ||
2210 | static struct ethtool_ops ethtool_ops = { | 2210 | static const struct ethtool_ops ethtool_ops = { |
2211 | .begin = check_if_running, | 2211 | .begin = check_if_running, |
2212 | .get_drvinfo = smc_get_drvinfo, | 2212 | .get_drvinfo = smc_get_drvinfo, |
2213 | .get_settings = smc_get_settings, | 2213 | .get_settings = smc_get_settings, |