aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/smsc911x.c
diff options
context:
space:
mode:
authorSteve Glendinning <steve.glendinning@smsc.com>2008-12-25 19:41:09 -0500
committerDavid S. Miller <davem@davemloft.net>2008-12-25 19:41:09 -0500
commitcb5b04fe14394a93eb9a3523f5af9f77480a5a04 (patch)
tree2b18c28283b72d3d020beabfbefb7ec92e013f54 /drivers/net/smsc911x.c
parent631b7568c7d8f0222773e1beb2460a86541ae394 (diff)
smsc911x: make smsc911x_ethtool_ops constant
Signed-off-by: Steve Glendinning <steve.glendinning@smsc.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/smsc911x.c')
-rw-r--r--drivers/net/smsc911x.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/smsc911x.c b/drivers/net/smsc911x.c
index 761b96c1758d..cbaf0a5bb22f 100644
--- a/drivers/net/smsc911x.c
+++ b/drivers/net/smsc911x.c
@@ -1718,7 +1718,7 @@ static int smsc911x_ethtool_set_eeprom(struct net_device *dev,
1718 return ret; 1718 return ret;
1719} 1719}
1720 1720
1721static struct ethtool_ops smsc911x_ethtool_ops = { 1721static const struct ethtool_ops smsc911x_ethtool_ops = {
1722 .get_settings = smsc911x_ethtool_getsettings, 1722 .get_settings = smsc911x_ethtool_getsettings,
1723 .set_settings = smsc911x_ethtool_setsettings, 1723 .set_settings = smsc911x_ethtool_setsettings,
1724 .get_link = ethtool_op_get_link, 1724 .get_link = ethtool_op_get_link,