From patchwork Tue Sep 11 12:59:40 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 1437851 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by patchwork2.kernel.org (Postfix) with ESMTP id 4A5D1DFAF3 for ; Tue, 11 Sep 2012 13:06:42 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1TBQ6n-0001j7-8w; Tue, 11 Sep 2012 13:02:30 +0000 Received: from moutng.kundenserver.de ([212.227.17.8]) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1TBQ4z-0000tz-CD for linux-arm-kernel@lists.infradead.org; Tue, 11 Sep 2012 13:00:38 +0000 Received: from klappe2.boeblingen.de.ibm.com (deibp9eh1--blueice3n2.emea.ibm.com [195.212.29.180]) by mrelayeu.kundenserver.de (node=mreu0) with ESMTP (Nemesis) id 0LuYSK-1TbzNX043M-00zr6O; Tue, 11 Sep 2012 14:59:59 +0200 From: Arnd Bergmann To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 06/16] ARM: netx: move platform_data definitions Date: Tue, 11 Sep 2012 14:59:40 +0200 Message-Id: <1347368390-31252-6-git-send-email-arnd@arndb.de> X-Mailer: git-send-email 1.7.10 In-Reply-To: <1347368390-31252-1-git-send-email-arnd@arndb.de> References: <1347368350-31212-1-git-send-email-arnd@arndb.de> <1347368390-31252-1-git-send-email-arnd@arndb.de> X-Provags-ID: V02:K0:ybdJljPcM7kEsUq5Dd1DcpCUoBiUMwoK0PSS3dxdQjL WbulacZdMj/6ZJdvql+nMZcBcbPEXp6C+K1RqQihUWU/pOXPcd 7+fmmQbysSLDxvbaHMg21aTny4msoI0qn1Oatz15Rj9YsOUZ3D eYjZ9BlQMBXQEOy3BPQTs/3bF7nBu9+jvVk7KRda5aPXWcg8R5 iXo4xHDJF1XR0kHCnJ4+peQQggJD3xRde5QcJCrg02/s/bPdVP 3MHE+Zd9XYxvJd2XYRb6Oar0xL634BsBrubVgnM+xB7hv3oYj4 z11BBz0JPINYlP+0bICQwqQk5rK2gUE3JqM6IbPlZJpXmL6JEM ARrppXpoZAsU1U3dU3hq3KqHxnpZesvWcRAA2H67AS0cj2pAcS f3kkjwtx3O7jBDSSFtCAIiOfXpcR6QAhRs= X-Spam-Note: CRM114 invocation failed X-Spam-Score: -1.9 (-) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-1.9 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [212.227.17.8 listed in list.dnswl.org] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Cc: Russell King , Arnd Bergmann , netdev@vger.kernel.org, Sascha Hauer , linux-kernel@vger.kernel.org, "David S. Miller" X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: linux-arm-kernel-bounces@lists.infradead.org Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Platform data for device drivers should be defined in include/linux/platform_data/*.h, not in the architecture and platform specific directories. This moves such data out of the netx include directories Signed-off-by: Arnd Bergmann Cc: "David S. Miller" Cc: netdev@vger.kernel.org Cc: Sascha Hauer Acked-by: Sascha Hauer --- arch/arm/mach-netx/nxdb500.c | 2 +- arch/arm/mach-netx/nxdkn.c | 2 +- arch/arm/mach-netx/nxeb500hmi.c | 2 +- drivers/net/ethernet/netx-eth.c | 2 +- .../include/mach/eth.h => include/linux/platform_data/eth-netx.h | 0 5 files changed, 4 insertions(+), 4 deletions(-) rename arch/arm/mach-netx/include/mach/eth.h => include/linux/platform_data/eth-netx.h (100%) diff --git a/arch/arm/mach-netx/include/mach/eth.h b/include/linux/platform_data/eth-netx.h similarity index 100% rename from arch/arm/mach-netx/include/mach/eth.h rename to include/linux/platform_data/eth-netx.h diff --git a/arch/arm/mach-netx/nxdb500.c b/arch/arm/mach-netx/nxdb500.c index 180ea89..8b781ff 100644 --- a/arch/arm/mach-netx/nxdb500.c +++ b/arch/arm/mach-netx/nxdb500.c @@ -30,7 +30,7 @@ #include #include #include -#include +#include #include "generic.h" #include "fb.h" diff --git a/arch/arm/mach-netx/nxdkn.c b/arch/arm/mach-netx/nxdkn.c index 58009e2..b26dbce 100644 --- a/arch/arm/mach-netx/nxdkn.c +++ b/arch/arm/mach-netx/nxdkn.c @@ -30,7 +30,7 @@ #include #include #include -#include +#include #include "generic.h" diff --git a/arch/arm/mach-netx/nxeb500hmi.c b/arch/arm/mach-netx/nxeb500hmi.c index 122e998..257382e 100644 --- a/arch/arm/mach-netx/nxeb500hmi.c +++ b/arch/arm/mach-netx/nxeb500hmi.c @@ -30,7 +30,7 @@ #include #include #include -#include +#include #include "generic.h" #include "fb.h" diff --git a/drivers/net/ethernet/netx-eth.c b/drivers/net/ethernet/netx-eth.c index 9d11ab7..63e7af4 100644 --- a/drivers/net/ethernet/netx-eth.c +++ b/drivers/net/ethernet/netx-eth.c @@ -34,7 +34,7 @@ #include #include #include -#include +#include /* XC Fifo Offsets */ #define EMPTY_PTR_FIFO(xcno) (0 + ((xcno) << 3)) /* Index of the empty pointer FIFO */