mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-12 05:48:40 +00:00
net: bcm63xx_enet: make bcm_enetsw_ethtool_ops const
Make this const as it is never modified. Signed-off-by: Bhumika Goyal <bhumirks@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
5829d70b0b
commit
dc8007e8fa
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue