aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
authorstephen hemminger <shemminger@vyatta.com>2012-01-05 14:10:24 -0500
committerDavid S. Miller <davem@davemloft.net>2012-01-09 17:05:23 -0500
commit1aff0cbe9d51236efba2e721a34e2c15779f95f3 (patch)
treeb0ed0d690cc5c42122b50ae6b41c3b905d71e2ee /drivers/net
parentbc689c9788f2cc9829d01d84083bc1714b969b15 (diff)
bcm63xx: make ethtool_ops const
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/ethernet/broadcom/bcm63xx_enet.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/broadcom/bcm63xx_enet.c b/drivers/net/ethernet/broadcom/bcm63xx_enet.c
index a11a8ad94226..d44331eb07fe 100644
--- a/drivers/net/ethernet/broadcom/bcm63xx_enet.c
+++ b/drivers/net/ethernet/broadcom/bcm63xx_enet.c
@@ -1469,7 +1469,7 @@ static int bcm_enet_set_pauseparam(struct net_device *dev,
1469 return 0; 1469 return 0;
1470} 1470}
1471 1471
1472static struct ethtool_ops bcm_enet_ethtool_ops = { 1472static const struct ethtool_ops bcm_enet_ethtool_ops = {
1473 .get_strings = bcm_enet_get_strings, 1473 .get_strings = bcm_enet_get_strings,
1474 .get_sset_count = bcm_enet_get_sset_count, 1474 .get_sset_count = bcm_enet_get_sset_count,
1475 .get_ethtool_stats = bcm_enet_get_ethtool_stats, 1475 .get_ethtool_stats = bcm_enet_get_ethtool_stats,