Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a870a977 authored by Tobias Klauser's avatar Tobias Klauser Committed by David S. Miller
Browse files

net: ethoc: Make needlessly global struct ethtool_ops static



Make the needlessly global struct ethtool_ops ethoc_ethtool_ops static
to fix a sparse warning.

Signed-off-by: default avatarTobias Klauser <tklauser@distanz.ch>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 49a67b5d
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -995,7 +995,7 @@ static int ethoc_set_ringparam(struct net_device *dev,
	return 0;
	return 0;
}
}


const struct ethtool_ops ethoc_ethtool_ops = {
static const struct ethtool_ops ethoc_ethtool_ops = {
	.get_regs_len = ethoc_get_regs_len,
	.get_regs_len = ethoc_get_regs_len,
	.get_regs = ethoc_get_regs,
	.get_regs = ethoc_get_regs,
	.nway_reset = phy_ethtool_nway_reset,
	.nway_reset = phy_ethtool_nway_reset,