Received: by 10.192.165.148 with SMTP id m20csp83593imm; Fri, 4 May 2018 07:04:16 -0700 (PDT) X-Google-Smtp-Source: AB8JxZrMdjibOqiyHa7P7c4oVZregikxBpymA5au+cWghwEbKvqCcVT7S1KLFJ/wIigdLZKoJCzx X-Received: by 2002:a17:902:44c:: with SMTP id 70-v6mr27686457ple.354.1525442656476; Fri, 04 May 2018 07:04:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525442656; cv=none; d=google.com; s=arc-20160816; b=njMYw2m0/l+LXFmRS5DCtFf3CvTetStzC2R5OKZHO6CwUKWvhPLNBAlrwJv6udKeOF 1IfZYv7v0z0nyhknX9XHU0hpRHvwrEDwx7CYPH7kW4Shi9/r0KWXIQGl9WzhQYKd3p06 bHYywh72Aa5pD9WFExWbyP29979c4yarzRopw33qQhc0Z5+sxdNatcQ8hD/vdLRHQxva AjB8W/+QgxX5ZkjMA3NH9JzXwV4lGkmgO49gyIyq/O+xhNle9Ju1lBbxNESzD56wFMu4 JHQ7hejpLv+5ZyaLgv9BGrDCHFBO1P5Ew0G5Sw+gWwwGOxRvhmsWi9OL+VMB6fIRhynz ZJkA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=QS/XagIy9Pj1KU1uDMZVYq/ep9AK6t/8C2foVDvVHn8=; b=oRg4T3KIgYCUKJJNCJOYmsUDyM/idbGrcDXAXV3QfxxLGXGGZ67dgv9ndiycPWIKlK vHCUnyYWyYZZYKn8wU+21MYd8UAnzolQEiqTkO4+1SB+g+XvmUKdnHpxlFiRqKZhGxvU jfr1KKtUL8ZcYXLsku7ES+uTnQCpKTQkEJ9/6rYiIFqBzOPZIC/HlllNcZAj5ZupXLkm HFOxkAoVCEjvd6l+1/ZARklFp4kkX47JpjSP6gV/pCaLNna37HKzUlLxQAeZ4d7G7Ybn 7J6sfixNI5Ju3XBDrw8RAS18tBCqOPHzt6H10KqdPAYRSDRvKgEQNPL2vzwmQfivThY6 pNcA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b18si1804206pfi.254.2018.05.04.07.04.02; Fri, 04 May 2018 07:04:16 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751511AbeEDOAQ (ORCPT + 99 others); Fri, 4 May 2018 10:00:16 -0400 Received: from mail.bootlin.com ([62.4.15.54]:60417 "EHLO mail.bootlin.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751654AbeEDOAO (ORCPT ); Fri, 4 May 2018 10:00:14 -0400 Received: by mail.bootlin.com (Postfix, from userid 110) id 5B3F4207DA; Fri, 4 May 2018 16:00:12 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail.bootlin.com X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,SHORTCIRCUIT, URIBL_BLOCKED shortcircuit=ham autolearn=disabled version=3.4.0 Received: from localhost (LStLambert-657-1-97-87.w90-63.abo.wanadoo.fr [90.63.216.87]) by mail.bootlin.com (Postfix) with ESMTPSA id 2F323207FF; Fri, 4 May 2018 16:00:02 +0200 (CEST) From: Antoine Tenart To: davem@davemloft.net, kishon@ti.com, linux@armlinux.org.uk, gregory.clement@bootlin.com, andrew@lunn.ch, jason@lakedaemon.net, sebastian.hesselbarth@gmail.com Cc: Antoine Tenart , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, thomas.petazzoni@bootlin.com, maxime.chevallier@bootlin.com, miquel.raynal@bootlin.com, nadavh@marvell.com, stefanc@marvell.com, ymarkman@marvell.com, mw@semihalf.com, linux-arm-kernel@lists.infradead.org Subject: [PATCH net-next v2 04/13] net: mvpp2: align the ethtool ops definition Date: Fri, 4 May 2018 15:56:34 +0200 Message-Id: <20180504135643.23466-5-antoine.tenart@bootlin.com> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180504135643.23466-1-antoine.tenart@bootlin.com> References: <20180504135643.23466-1-antoine.tenart@bootlin.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- drivers/net/ethernet/marvell/mvpp2.c | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/drivers/net/ethernet/marvell/mvpp2.c b/drivers/net/ethernet/marvell/mvpp2.c index 6f410235987c..77dd91e3d962 100644 --- a/drivers/net/ethernet/marvell/mvpp2.c +++ b/drivers/net/ethernet/marvell/mvpp2.c @@ -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 -- 2.17.0