drivers/net: const-ify ethtool_ops declarations
[deliverable/linux.git] / drivers / net / pcmcia / smc91c92_cs.c
index 3fb369f2e7ed1564813c144d926217b13f1493a7..a2f3a0e2a0050cb55361c7a2c75588857ed760ef 100644 (file)
@@ -299,7 +299,7 @@ static void mdio_sync(kio_addr_t addr);
 static int mdio_read(struct net_device *dev, int phy_id, int loc);
 static void mdio_write(struct net_device *dev, int phy_id, int loc, int value);
 static int smc_link_ok(struct net_device *dev);
-static struct ethtool_ops ethtool_ops;
+static const struct ethtool_ops ethtool_ops;
 
 /*======================================================================
 
@@ -2207,7 +2207,7 @@ static int smc_nway_reset(struct net_device *dev)
                return -EOPNOTSUPP;
 }
 
-static struct ethtool_ops ethtool_ops = {
+static const struct ethtool_ops ethtool_ops = {
        .begin = check_if_running,
        .get_drvinfo = smc_get_drvinfo,
        .get_settings = smc_get_settings,
This page took 0.024152 seconds and 5 git commands to generate.