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/sis900.c | |
parent | 76fd85937097a0c2ec8ab23bf21dc10992d1c398 (diff) |
drivers/net: const-ify ethtool_ops declarations
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/sis900.c')
-rw-r--r-- | drivers/net/sis900.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/sis900.c b/drivers/net/sis900.c index 430500da6a9d..28606e20df1c 100644 --- a/drivers/net/sis900.c +++ b/drivers/net/sis900.c | |||
@@ -232,7 +232,7 @@ static void sis900_set_capability( struct net_device *net_dev ,struct mii_phy *p | |||
232 | static u16 sis900_reset_phy(struct net_device *net_dev, int phy_addr); | 232 | static u16 sis900_reset_phy(struct net_device *net_dev, int phy_addr); |
233 | static void sis900_auto_negotiate(struct net_device *net_dev, int phy_addr); | 233 | static void sis900_auto_negotiate(struct net_device *net_dev, int phy_addr); |
234 | static void sis900_set_mode (long ioaddr, int speed, int duplex); | 234 | static void sis900_set_mode (long ioaddr, int speed, int duplex); |
235 | static struct ethtool_ops sis900_ethtool_ops; | 235 | static const struct ethtool_ops sis900_ethtool_ops; |
236 | 236 | ||
237 | /** | 237 | /** |
238 | * sis900_get_mac_addr - Get MAC address for stand alone SiS900 model | 238 | * sis900_get_mac_addr - Get MAC address for stand alone SiS900 model |
@@ -2099,7 +2099,7 @@ static void sis900_get_wol(struct net_device *net_dev, struct ethtool_wolinfo *w | |||
2099 | wol->supported = (WAKE_PHY | WAKE_MAGIC); | 2099 | wol->supported = (WAKE_PHY | WAKE_MAGIC); |
2100 | } | 2100 | } |
2101 | 2101 | ||
2102 | static struct ethtool_ops sis900_ethtool_ops = { | 2102 | static const struct ethtool_ops sis900_ethtool_ops = { |
2103 | .get_drvinfo = sis900_get_drvinfo, | 2103 | .get_drvinfo = sis900_get_drvinfo, |
2104 | .get_msglevel = sis900_get_msglevel, | 2104 | .get_msglevel = sis900_get_msglevel, |
2105 | .set_msglevel = sis900_set_msglevel, | 2105 | .set_msglevel = sis900_set_msglevel, |