All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] net: mvneta: make mvneta_eth_tool_ops static
@ 2017-02-16  9:07 Jisheng Zhang
  2017-02-16  9:37 ` Thomas Petazzoni
  2017-02-17 17:16 ` David Miller
  0 siblings, 2 replies; 3+ messages in thread
From: Jisheng Zhang @ 2017-02-16  9:07 UTC (permalink / raw)
  To: thomas.petazzoni, davem; +Cc: netdev, linux-kernel, Jisheng Zhang

The mvneta_eth_tool_ops is only used internally in mvneta driver, so
make it static.

Signed-off-by: Jisheng Zhang <jszhang@marvell.com>
---
 drivers/net/ethernet/marvell/mvneta.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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,
-- 
2.11.0

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-02-17 17:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-16  9:07 [PATCH] net: mvneta: make mvneta_eth_tool_ops static Jisheng Zhang
2017-02-16  9:37 ` Thomas Petazzoni
2017-02-17 17:16 ` David Miller

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.