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: Tobias Klauser <tklauser@distanz.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
49a67b5db7
commit
a870a97757
@ -995,7 +995,7 @@ static int ethoc_set_ringparam(struct net_device *dev,
|
||||
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 = ethoc_get_regs,
|
||||
.nway_reset = phy_ethtool_nway_reset,
|
||||
|
Loading…
Reference in New Issue
Block a user