From cb5b04fe14394a93eb9a3523f5af9f77480a5a04 Mon Sep 17 00:00:00 2001 From: Steve Glendinning Date: Thu, 25 Dec 2008 16:41:09 -0800 Subject: [PATCH] smsc911x: make smsc911x_ethtool_ops constant Signed-off-by: Steve Glendinning Signed-off-by: David S. Miller --- drivers/net/smsc911x.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/smsc911x.c b/drivers/net/smsc911x.c index 761b96c..cbaf0a5 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, 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, -- 2.7.4