Skip to content

Commit 4581be4

Browse files
Jisheng Zhangdavem330
authored andcommitted
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]> Acked-by: Thomas Petazzoni <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 4b5026a commit 4581be4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/net/ethernet/marvell/mvneta.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3959,7 +3959,7 @@ static const struct net_device_ops mvneta_netdev_ops = {
39593959
.ndo_do_ioctl = mvneta_ioctl,
39603960
};
39613961

3962-
const struct ethtool_ops mvneta_eth_tool_ops = {
3962+
static const struct ethtool_ops mvneta_eth_tool_ops = {
39633963
.nway_reset = phy_ethtool_nway_reset,
39643964
.get_link = ethtool_op_get_link,
39653965
.set_coalesce = mvneta_ethtool_set_coalesce,

0 commit comments

Comments
 (0)