Received: by 10.213.65.68 with SMTP id h4csp301941imn; Fri, 16 Mar 2018 03:42:15 -0700 (PDT) X-Google-Smtp-Source: AG47ELslcpHpJsWziiYxXL3IqUmorou4yFq2pRWd6w1m1rsLPxq/mhPrCAivemvMTTX4K/7iiD3c X-Received: by 10.98.71.210 with SMTP id p79mr1166472pfi.47.1521196934931; Fri, 16 Mar 2018 03:42:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521196934; cv=none; d=google.com; s=arc-20160816; b=JmLxHJ59oCDijDaeCoLAc7dt+OZILyQTaUsRlm9J87dO7TyMiWsFckf+IpgEuU/2Vj sCxqA+zYcqHnXsCaonJjmMnpC09/1LLVzAT2usDQGi82n/Bj9raoKMjDmxZ0TosfBm8V Qp1Jun/F32SycPEBL0Xs4ERX3mmHIhlVtVVF+Qjtmrcvk/cNhcTGsTJgaDb0PK8ijTUB 8Fk7+qz8DbeS/0WUmgOkyRpxwjAMUGkWMPYhWnCvOgp4gf+3Qf5MMfYIC6MoYHOZYHVK wVu/N1jmuE8yE7Z7Fvjpjpw6ftu0WWnSiwHaa4U6ifu78jZeaZcb6PDWFa/GHIsO6VzJ YlyA== 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=NXopurW0i6ny1AxuGFL+u7tkowG2YXWzP/GQXqORP4E=; b=qYbA868bgjYhYGE55vh/9i0tNOMkbMD3VUe8DFWWlIg0SQnmnOyAaJ35MwlwC1FVYS JxwLaPir71w8poRyleEfdpvaHqvwz+NrnvkBvWwXzNZicUMZHw9BC2KP0uJvHK4DvgnE vR2lg7+J+QgBx3wkXVnsqCwNP/mNlv/WvOF8CPm9sP2YO/AHozl/4Jjl2O4lPkqyvpIU weekqFhKJkd8pIE6h/IV2wcxu2WxB/pj8dZk7y8UM6+llIb+l22Cxtq2VeF7Cc7FHcWE XqlT8iVQKcSX6w2PjdhuozB9G9hhPw1PfbU4h+K+h+2v0bxBpWgsUOHGdnFeQnhV9c1v bYSw== 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 h6-v6si6037124pls.39.2018.03.16.03.42.00; Fri, 16 Mar 2018 03:42:14 -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 S1753441AbeCPKfi (ORCPT + 99 others); Fri, 16 Mar 2018 06:35:38 -0400 Received: from mail.bootlin.com ([62.4.15.54]:34967 "EHLO mail.bootlin.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752544AbeCPKfg (ORCPT ); Fri, 16 Mar 2018 06:35:36 -0400 Received: by mail.bootlin.com (Postfix, from userid 110) id 314B520731; Fri, 16 Mar 2018 11:35:34 +0100 (CET) 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 E94A8208A7; Fri, 16 Mar 2018 11:35:00 +0100 (CET) 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 01/10] net: mvpp2: align the ethtool ops definition Date: Fri, 16 Mar 2018 11:33:42 +0100 Message-Id: <20180316103351.16616-2-antoine.tenart@bootlin.com> X-Mailer: git-send-email 2.14.3 In-Reply-To: <20180316103351.16616-1-antoine.tenart@bootlin.com> References: <20180316103351.16616-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 9bd35f2291d6..430114ad93fc 100644 --- a/drivers/net/ethernet/marvell/mvpp2.c +++ b/drivers/net/ethernet/marvell/mvpp2.c @@ -7885,18 +7885,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.14.3