diff options
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, |