From patchwork Sat Oct 25 10:08:59 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sebastian Hesselbarth X-Patchwork-Id: 5151071 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id A061CC11AC for ; Sat, 25 Oct 2014 10:12:04 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 98AA4201EC for ; Sat, 25 Oct 2014 10:12:03 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 8EAD5201DD for ; Sat, 25 Oct 2014 10:12:02 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1XhyHu-0002DS-E4; Sat, 25 Oct 2014 10:09:34 +0000 Received: from mail-wg0-x22b.google.com ([2a00:1450:400c:c00::22b]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1XhyHs-0002Cp-1u for linux-arm-kernel@lists.infradead.org; Sat, 25 Oct 2014 10:09:33 +0000 Received: by mail-wg0-f43.google.com with SMTP id n12so2601361wgh.14 for ; Sat, 25 Oct 2014 03:09:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=2qaiPemTh3roQ9i38SmcXXTW6tSjHYGChb1GKeSOh9Y=; b=YGKZk4xO4k7/EyfNS63zxcJXEZ3y7Q5OC9mO/7Yyro71eYMRPq5DcJ65lRKMR81b1g 1hwoae2gPAOh+ZgQqmV7Cke2NR6zKzr6JiXyuAUcQeRugnEdcZeKmIvoQMQUHLAG5GL8 IAWZgEu3MRbCwbFg50KC6nMqAhwRcSFVWbxQWW6W9xY1EtyLZxOYoqbXdmiDXnSUSDj6 PNNgiN6vJkTNcU/B6uvDz6s5n943iOxAHmUGv1ECe0tGDvLDz0iOy5Niu9CVphpPlCtF vCxzNy7FlwS4XC1Oihy0pf/HOyU9kES7YMpCdWixP8G4MCkWBeQKPN22HeTFLxGP3cYd tgkw== X-Received: by 10.194.90.15 with SMTP id bs15mr10299857wjb.47.1414231749642; Sat, 25 Oct 2014 03:09:09 -0700 (PDT) Received: from topkick.lan (f052247009.adsl.alicedsl.de. [78.52.247.9]) by mx.google.com with ESMTPSA id h8sm8317412wjs.43.2014.10.25.03.09.08 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 25 Oct 2014 03:09:08 -0700 (PDT) From: Sebastian Hesselbarth To: Sebastian Hesselbarth , "David S. Miller" Subject: [PATCH] fixup! net: pxa168_eth: Provide phy_interface mode on platform_data Date: Sat, 25 Oct 2014 12:08:59 +0200 Message-Id: <1414231739-7447-1-git-send-email-sebastian.hesselbarth@gmail.com> In-Reply-To: <1414002412-13615-3-git-send-email-sebastian.hesselbarth@gmail.com> References: <1414002412-13615-3-git-send-email-sebastian.hesselbarth@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20141025_030932_349179_954AD3E0 X-CRM114-Status: GOOD ( 14.17 ) X-Spam-Score: -0.8 (/) Cc: Florian Fainelli , Eric Miao , netdev@vger.kernel.org, Antoine Tenart , linux-kernel@vger.kernel.org, Haojian Zhuang , linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-3.2 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Do not add phy include to the board file but platform_data include instead. Signed-off-by: Sebastian Hesselbarth --- David, I should have compile tested this patch earlier. I did now on pxa168_defconfig right after I received an 0-day kbuild error on this patch. This is the corresponding fix, can you please squash it in? Thanks and sorry for the noise, Sebastian Cc: "David S. Miller" Cc: Antoine Tenart Cc: Florian Fainelli Cc: Eric Miao Cc: Haojian Zhuang Cc: linux-arm-kernel@lists.infradead.org Cc: netdev@vger.kernel.org Cc: linux-kernel@vger.kernel.org --- arch/arm/mach-mmp/gplugd.c | 1 - include/linux/pxa168_eth.h | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/mach-mmp/gplugd.c b/arch/arm/mach-mmp/gplugd.c index 3b5794cd0357..22762a1f9f72 100644 --- a/arch/arm/mach-mmp/gplugd.c +++ b/arch/arm/mach-mmp/gplugd.c @@ -12,7 +12,6 @@ #include #include #include -#include #include #include diff --git a/include/linux/pxa168_eth.h b/include/linux/pxa168_eth.h index 37c381120bc8..e1ab6e86cdb3 100644 --- a/include/linux/pxa168_eth.h +++ b/include/linux/pxa168_eth.h @@ -4,6 +4,8 @@ #ifndef __LINUX_PXA168_ETH_H #define __LINUX_PXA168_ETH_H +#include + struct pxa168_eth_platform_data { int port_number; int phy_addr;