net: mvneta: make mvneta_eth_tool_ops static
Subsystems (3)
PATCH 1/1 net: mvneta: make mvneta_eth_tool_ops static
The mvneta_eth_tool_ops is only used internally in mvneta driver, so make it static.
Signed-off-by Jisheng Zhang <[email protected]>
--- drivers/net/ethernet/marvell/mvneta.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/ethernet/marvell/mvneta.c +1 -1
@@ -3959,7 +3959,7 @@ static const struct net_device_ops mvneta_netdev_ops = { .ndo_do_ioctl = mvneta_ioctl, }; -const struct ethtool_ops mvneta_eth_tool_ops = { +static const struct ethtool_ops mvneta_eth_tool_ops = { .nway_reset = phy_ethtool_nway_reset, .get_link = ethtool_op_get_link, .set_coalesce = mvneta_ethtool_set_coalesce,
Signature · 1 line
2.11.0
Hello,
Quoted 4 lines · Jisheng Zhang
The
mvneta_eth_tool_opsis only used internally in mvneta driver, so make it static.Signed-off-by Jisheng Zhang <[email protected]>
Acked-by Thomas Petazzoni <[email protected]>
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com
From: Jisheng Zhang <[email protected]>
Date: Thu, 16 Feb 2017 17:07:39 +0800
Quoted 4 lines
The
mvneta_eth_tool_opsis only used internally in mvneta driver, so make it static.Signed-off-by Jisheng Zhang <[email protected]>
Applied to net-next, thanks.