Skip to content

Commit

Permalink
smsc911x: make smsc911x_ethtool_ops constant
Browse files Browse the repository at this point in the history
Signed-off-by: Steve Glendinning <steve.glendinning@smsc.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Steve Glendinning authored and David S. Miller committed Dec 26, 2008
1 parent 631b756 commit cb5b04f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/smsc911x.c
Original file line number Diff line number Diff line change
Expand Up @@ -1718,7 +1718,7 @@ static int smsc911x_ethtool_set_eeprom(struct net_device *dev,
return ret;
}

static struct ethtool_ops smsc911x_ethtool_ops = {
static const struct ethtool_ops smsc911x_ethtool_ops = {
.get_settings = smsc911x_ethtool_getsettings,
.set_settings = smsc911x_ethtool_setsettings,
.get_link = ethtool_op_get_link,
Expand Down

0 comments on commit cb5b04f

Please sign in to comment.