aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/sis900.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/sis900.c')
-rw-r--r--drivers/net/sis900.c4
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
232static u16 sis900_reset_phy(struct net_device *net_dev, int phy_addr); 232static u16 sis900_reset_phy(struct net_device *net_dev, int phy_addr);
233static void sis900_auto_negotiate(struct net_device *net_dev, int phy_addr); 233static void sis900_auto_negotiate(struct net_device *net_dev, int phy_addr);
234static void sis900_set_mode (long ioaddr, int speed, int duplex); 234static void sis900_set_mode (long ioaddr, int speed, int duplex);
235static struct ethtool_ops sis900_ethtool_ops; 235static 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
2102static struct ethtool_ops sis900_ethtool_ops = { 2102static 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,