Commit 1aff0cbe authored by stephen hemminger's avatar stephen hemminger Committed by David S. Miller

bcm63xx: make ethtool_ops const

Signed-off-by: default avatarStephen Hemminger <shemminger@vyatta.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent bc689c97
...@@ -1469,7 +1469,7 @@ static int bcm_enet_set_pauseparam(struct net_device *dev, ...@@ -1469,7 +1469,7 @@ static int bcm_enet_set_pauseparam(struct net_device *dev,
return 0; return 0;
} }
static struct ethtool_ops bcm_enet_ethtool_ops = { static const struct ethtool_ops bcm_enet_ethtool_ops = {
.get_strings = bcm_enet_get_strings, .get_strings = bcm_enet_get_strings,
.get_sset_count = bcm_enet_get_sset_count, .get_sset_count = bcm_enet_get_sset_count,
.get_ethtool_stats = bcm_enet_get_ethtool_stats, .get_ethtool_stats = bcm_enet_get_ethtool_stats,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment