aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/micrel/ksz884x.c
diff options
context:
space:
mode:
authorstephen hemminger <shemminger@vyatta.com>2012-01-04 07:59:49 -0500
committerDavid S. Miller <davem@davemloft.net>2012-01-05 13:23:00 -0500
commit9b07be4b2a78166bc54c8eedf18da8a8aafacfab (patch)
tree6a1e70a5777befcd2ed840f0a8d24f6477309987 /drivers/net/ethernet/micrel/ksz884x.c
parentc8b88efc3047063f98eba26d8d08d9a6b968c73a (diff)
net: make ethtool_ops const
Auditing all usage of ethtool_ops found several drivers that are not declaring the struct const when it should be. Signed-off-by: Stephen Hemminger <shemminger@vyatta.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/micrel/ksz884x.c')
-rw-r--r--drivers/net/ethernet/micrel/ksz884x.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/micrel/ksz884x.c b/drivers/net/ethernet/micrel/ksz884x.c
index a718865a8fed..6ed09a85f035 100644
--- a/drivers/net/ethernet/micrel/ksz884x.c
+++ b/drivers/net/ethernet/micrel/ksz884x.c
@@ -6607,7 +6607,7 @@ static int netdev_set_features(struct net_device *dev,
6607 return 0; 6607 return 0;
6608} 6608}
6609 6609
6610static struct ethtool_ops netdev_ethtool_ops = { 6610static const struct ethtool_ops netdev_ethtool_ops = {
6611 .get_settings = netdev_get_settings, 6611 .get_settings = netdev_get_settings,
6612 .set_settings = netdev_set_settings, 6612 .set_settings = netdev_set_settings,
6613 .nway_reset = netdev_nway_reset, 6613 .nway_reset = netdev_nway_reset,