From patchwork Wed Feb 15 17:45:02 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ivan Khoronzhuk X-Patchwork-Id: 9574617 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 7590160589 for ; Wed, 15 Feb 2017 17:48:26 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6314A28502 for ; Wed, 15 Feb 2017 17:48:26 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 57B5728503; Wed, 15 Feb 2017 17:48:26 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.3 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9440F28505 for ; Wed, 15 Feb 2017 17:48:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752429AbdBORsU (ORCPT ); Wed, 15 Feb 2017 12:48:20 -0500 Received: from mail-lf0-f47.google.com ([209.85.215.47]:33494 "EHLO mail-lf0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752478AbdBORpN (ORCPT ); Wed, 15 Feb 2017 12:45:13 -0500 Received: by mail-lf0-f47.google.com with SMTP id x1so84639725lff.0 for ; Wed, 15 Feb 2017 09:45:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=POAHLwbaGjwgix0tme8ejWTOB9dSCxajsB7ZEZXnyb4=; b=Hm4LALW5tV18wfY2qVBuGEoNcdQsVlWEDLcKIBWPHk2MR4vfKzpsVGzUeEgynACdGE eJXg1Y6azDX6p7VPjSnVLcpuePr7kclikhhmRLTGat8Iqh0BPeT+3L/MOEkUkg60LjeI R+zny55jikNGhngtq4+cm2A1Yhu2X0NdTqAwg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=POAHLwbaGjwgix0tme8ejWTOB9dSCxajsB7ZEZXnyb4=; b=Vb9502Qjx2j3YGCQ8ngqA+26EzQLij35eQxlLiCyXNmh+7aor1Ca5wCfVBTXLMionj NtFIdFfjWEWEI8IxHkYFHNHWO3i931GBt03cfKW+I3feTwKzNBgR0qNsRUpLgZRtA7S4 C0+b2aHSV1IohgVaGtJKKLQt1mZVQMwmxzX9DKVPoP9fPFUHBdQAhPfcPbB5xItpKyHc 47UnXsV6Nr+dcvyaaF90jpqxj4Ee5H5J6El0IgdQ6qBibHlfIgYxDxGjOTTRB3kcwc8P dPioUjNMqrjXYoCf9KGbHY8q9ID5BSwMB3lVzvviX/ioZbu69zHq92mv/5V/mVbI1sp5 LcVg== X-Gm-Message-State: AMke39l36ruYPEa/owMLvkNtGX7YyG8BzrcwKMfDcr1Ocw7/I3BlzwtPbAJ0mx6jOe1tfz/j X-Received: by 10.25.67.84 with SMTP id m20mr12440022lfj.106.1487180706621; Wed, 15 Feb 2017 09:45:06 -0800 (PST) Received: from localhost.localdomain (183-224-132-95.pool.ukrtel.net. [95.132.224.183]) by smtp.gmail.com with ESMTPSA id p11sm1110307lfd.20.2017.02.15.09.45.05 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 15 Feb 2017 09:45:05 -0800 (PST) From: Ivan Khoronzhuk To: mugunthanvnm@ti.com Cc: grygorii.strashko@ti.com, netdev@vger.kernel.org, linux-omap@vger.kernel.org, linux-kernel@vger.kernel.org, Ivan Khoronzhuk Subject: [PATCH] net: ethernet: ti: cpsw: correct ale dev to cpsw Date: Wed, 15 Feb 2017 19:45:02 +0200 Message-Id: <1487180702-19944-1-git-send-email-ivan.khoronzhuk@linaro.org> X-Mailer: git-send-email 2.7.4 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The ale is a property of cpsw, so change dev to cpsw->dev, aka pdev->dev, to be consistent. Signed-off-by: Ivan Khoronzhuk --- Based on net-next/master drivers/net/ethernet/ti/cpsw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/ti/cpsw.c b/drivers/net/ethernet/ti/cpsw.c index e86f226..57c8308 100644 --- a/drivers/net/ethernet/ti/cpsw.c +++ b/drivers/net/ethernet/ti/cpsw.c @@ -3032,7 +3032,7 @@ static int cpsw_probe(struct platform_device *pdev) goto clean_dma_ret; } - ale_params.dev = &ndev->dev; + ale_params.dev = &pdev->dev; ale_params.ale_ageout = ale_ageout; ale_params.ale_entries = data->ale_entries; ale_params.ale_ports = data->slaves;