summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/marvell/mvneta.c
diff options
context:
space:
mode:
authorJisheng Zhang <jszhang@marvell.com>2017-02-16 17:07:39 +0800
committerDavid S. Miller <davem@davemloft.net>2017-02-17 12:16:29 -0500
commit4581be42fce5e1d208cbeb8e78df3f1b4673eff7 (patch)
treed2e655ee957fde3f839c91df5ec26cd55a1d791f /drivers/net/ethernet/marvell/mvneta.c
parent4b5026ade59e07c8913ba8c4d19db2438fdeed1a (diff)
downloadlinux-stable-4581be42fce5e1d208cbeb8e78df3f1b4673eff7.tar.gz
linux-stable-4581be42fce5e1d208cbeb8e78df3f1b4673eff7.tar.bz2
linux-stable-4581be42fce5e1d208cbeb8e78df3f1b4673eff7.zip
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 <jszhang@marvell.com> Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/marvell/mvneta.c')
-rw-r--r--drivers/net/ethernet/marvell/mvneta.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/marvell/mvneta.c b/drivers/net/ethernet/marvell/mvneta.c
index fdf71720e707..61dd4462411c 100644
--- a/drivers/net/ethernet/marvell/mvneta.c
+++ b/drivers/net/ethernet/marvell/mvneta.c
@@ -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,