Commit dc8007e8 authored by Bhumika Goyal's avatar Bhumika Goyal Committed by David S. Miller
Browse files

net: bcm63xx_enet: make bcm_enetsw_ethtool_ops const



Make this const as it is never modified.

Signed-off-by: default avatarBhumika Goyal <bhumirks@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 5829d70b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2674,7 +2674,7 @@ static int bcm_enetsw_set_ringparam(struct net_device *dev,
	return 0;
}

static struct ethtool_ops bcm_enetsw_ethtool_ops = {
static const struct ethtool_ops bcm_enetsw_ethtool_ops = {
	.get_strings		= bcm_enetsw_get_strings,
	.get_sset_count		= bcm_enetsw_get_sset_count,
	.get_ethtool_stats      = bcm_enetsw_get_ethtool_stats,