net: mvpp2: align the ethtool ops definition
authorAntoine Tenart <antoine.tenart@bootlin.com>
Thu, 17 May 2018 08:29:30 +0000 (10:29 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 17 May 2018 20:11:39 +0000 (16:11 -0400)
Cosmetic patch to align the ethtool functions to ops definitions. This
patch does not change in any way the driver's behaviour.

Signed-off-by: Antoine Tenart <antoine.tenart@bootlin.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/mvpp2.c

index 6f410235987cbbd3aee452ef7990dc576a92537f..77dd91e3d962acced0640638ce4efa213621a385 100644 (file)
@@ -7859,18 +7859,18 @@ static const struct net_device_ops mvpp2_netdev_ops = {
 };
 
 static const struct ethtool_ops mvpp2_eth_tool_ops = {
-       .nway_reset     = phy_ethtool_nway_reset,
-       .get_link       = ethtool_op_get_link,
-       .set_coalesce   = mvpp2_ethtool_set_coalesce,
-       .get_coalesce   = mvpp2_ethtool_get_coalesce,
-       .get_drvinfo    = mvpp2_ethtool_get_drvinfo,
-       .get_ringparam  = mvpp2_ethtool_get_ringparam,
-       .set_ringparam  = mvpp2_ethtool_set_ringparam,
-       .get_strings    = mvpp2_ethtool_get_strings,
-       .get_ethtool_stats = mvpp2_ethtool_get_stats,
-       .get_sset_count = mvpp2_ethtool_get_sset_count,
-       .get_link_ksettings = phy_ethtool_get_link_ksettings,
-       .set_link_ksettings = phy_ethtool_set_link_ksettings,
+       .nway_reset             = phy_ethtool_nway_reset,
+       .get_link               = ethtool_op_get_link,
+       .set_coalesce           = mvpp2_ethtool_set_coalesce,
+       .get_coalesce           = mvpp2_ethtool_get_coalesce,
+       .get_drvinfo            = mvpp2_ethtool_get_drvinfo,
+       .get_ringparam          = mvpp2_ethtool_get_ringparam,
+       .set_ringparam          = mvpp2_ethtool_set_ringparam,
+       .get_strings            = mvpp2_ethtool_get_strings,
+       .get_ethtool_stats      = mvpp2_ethtool_get_stats,
+       .get_sset_count         = mvpp2_ethtool_get_sset_count,
+       .get_link_ksettings     = phy_ethtool_get_link_ksettings,
+       .set_link_ksettings     = phy_ethtool_set_link_ksettings,
 };
 
 /* Used for PPv2.1, or PPv2.2 with the old Device Tree binding that