From patchwork Tue Sep 11 12:59:35 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 11316 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id 9570123F26 for ; Tue, 11 Sep 2012 13:02:31 +0000 (UTC) Received: from mail-ie0-f180.google.com (mail-ie0-f180.google.com [209.85.223.180]) by fiordland.canonical.com (Postfix) with ESMTP id 27C3AA18116 for ; Tue, 11 Sep 2012 13:02:31 +0000 (UTC) Received: by ieak11 with SMTP id k11so800714iea.11 for ; Tue, 11 Sep 2012 06:02:30 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-forwarded-to:x-forwarded-for:delivered-to:received-spf:from:to:cc :subject:date:message-id:x-mailer:in-reply-to:references :x-provags-id:x-gm-message-state; bh=Cv0332SU+aA/PEAZTZrAPP0GDBAUKzkadR5shTar+kU=; b=E0A2N0WxOpUEZALHNNl27JDtDVQBSEjmyMU+xNUo9wmKBI8Zqjs4ImoyWJsfsE7vw6 xEExDnnjHvasvnX6YUjR1/VEykcYYJR3ed7/ljUKrmI85g8DdzBejeWC4Eu8dqEmHcCu nMa9ZjH4eWG98SX8KHAs+LSPkZ+CdKdQcuKnKrPFlEMNF4r4e6uV1tDAjSiARa5ReDG/ zzvYCUZnRRoqWlSJSNe62jiWsmDljO3SzMUTIGuZ9nxHSiGzZHmyjwZYZRr6nH++nuTK bCbSWGEaXXZOkYejOZ0MiCT+bkocCCffpDadKmR22B+fw1x2dPNYEXRoo9Hl3WhI3e+N aedA== Received: by 10.50.242.3 with SMTP id wm3mr16117288igc.0.1347368550437; Tue, 11 Sep 2012 06:02:30 -0700 (PDT) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.50.184.232 with SMTP id ex8csp11977igc; Tue, 11 Sep 2012 06:02:29 -0700 (PDT) Received: by 10.204.133.193 with SMTP id g1mr4635074bkt.2.1347368548546; Tue, 11 Sep 2012 06:02:28 -0700 (PDT) Received: from moutng.kundenserver.de (moutng.kundenserver.de. [212.227.126.171]) by mx.google.com with ESMTP id fs16si9240537bkc.49.2012.09.11.06.02.28; Tue, 11 Sep 2012 06:02:28 -0700 (PDT) Received-SPF: neutral (google.com: 212.227.126.171 is neither permitted nor denied by best guess record for domain of arnd@arndb.de) client-ip=212.227.126.171; Authentication-Results: mx.google.com; spf=neutral (google.com: 212.227.126.171 is neither permitted nor denied by best guess record for domain of arnd@arndb.de) smtp.mail=arnd@arndb.de 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 0M21dP-1TQCzg0zFr-00u3Ot; Tue, 11 Sep 2012 14:59:55 +0200 From: Arnd Bergmann To: linux-arm-kernel@lists.infradead.org Cc: linux-kernel@vger.kernel.org, Russell King , Arnd Bergmann , Nicolas Ferre , Jean-Christophe Plagniol-Villard , Vinod Koul , Dan Williams Subject: [PATCH 01/16] ARM: at91: move platform_data definitions Date: Tue, 11 Sep 2012 14:59:35 +0200 Message-Id: <1347368390-31252-1-git-send-email-arnd@arndb.de> X-Mailer: git-send-email 1.7.10 In-Reply-To: <1347368350-31212-1-git-send-email-arnd@arndb.de> References: <1347368350-31212-1-git-send-email-arnd@arndb.de> X-Provags-ID: V02:K0:PcUhJhD83uhkIYHP/ZR/QjTrSUIfSqdUSsDS6tATEYv xa1VI3HzGw3jR4CfXgCJUXxgA+FIJhQt0GAdDvKHWMlEcmhMhT fb3ReDnNId/q9FL+KtsL/yxYhf4Rfh1f4lTcJHRsWNjW4+NNsi DhZnit/lMQf78ARZD3hOVdk1i8a5mfaPdDH58XNXDTux+pWqZU 6Tz043O3tyigOVnk7HtshGMiU2ur2Y3HDE8C7FfCBhk8XT70Lf HVe3iBdv0JOZmt89ozoZL941Yn8qCe6pCLiNL4elxNGkurAzw9 7db7tmjP2RIf5RLRLdcWwV9dC/p0TZ5mpgnXCH8CoFg/CL7kA/ SSa78Eh1Lbe8aIEv4PLqXKgNJdjGQKavfaLsxSRNpzgFWFEuLg ZZSPDI/Yubl+u6pu6rf7/FddLiQplhYnxU= X-Gm-Message-State: ALoCoQn+BPFw2EuT9ZfqGooBLd+M2LcpV074mBtz3ph6dOmDvKf2SNd/wFbg7Qs5JhYjKwI2Di+M 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 at91 include directories Signed-off-by: Arnd Bergmann Cc: Nicolas Ferre Cc: Jean-Christophe Plagniol-Villard Cc: Vinod Koul Cc: Dan Williams --- arch/arm/mach-at91/at91sam9g45_devices.c | 2 +- arch/arm/mach-at91/at91sam9rl_devices.c | 2 +- arch/arm/mach-at91/include/mach/atmel-mci.h | 2 +- drivers/dma/at_hdmac_regs.h | 2 +- include/linux/platform_data/atmel-aes.h | 2 +- .../mach/at_hdmac.h => include/linux/platform_data/dma-atmel.h | 0 6 files changed, 5 insertions(+), 5 deletions(-) rename arch/arm/mach-at91/include/mach/at_hdmac.h => include/linux/platform_data/dma-atmel.h (100%) diff --git a/arch/arm/mach-at91/include/mach/at_hdmac.h b/include/linux/platform_data/dma-atmel.h similarity index 100% rename from arch/arm/mach-at91/include/mach/at_hdmac.h rename to include/linux/platform_data/dma-atmel.h diff --git a/arch/arm/mach-at91/at91sam9g45_devices.c b/arch/arm/mach-at91/at91sam9g45_devices.c index 0607399..0aa9bdb 100644 --- a/arch/arm/mach-at91/at91sam9g45_devices.c +++ b/arch/arm/mach-at91/at91sam9g45_devices.c @@ -31,7 +31,7 @@ #include #include #include -#include +#include #include #include diff --git a/arch/arm/mach-at91/at91sam9rl_devices.c b/arch/arm/mach-at91/at91sam9rl_devices.c index f09fff9..e4da717 100644 --- a/arch/arm/mach-at91/at91sam9rl_devices.c +++ b/arch/arm/mach-at91/at91sam9rl_devices.c @@ -22,7 +22,7 @@ #include #include #include -#include +#include #include "generic.h" diff --git a/arch/arm/mach-at91/include/mach/atmel-mci.h b/arch/arm/mach-at91/include/mach/atmel-mci.h index 998cb0c..cd580a1 100644 --- a/arch/arm/mach-at91/include/mach/atmel-mci.h +++ b/arch/arm/mach-at91/include/mach/atmel-mci.h @@ -1,7 +1,7 @@ #ifndef __MACH_ATMEL_MCI_H #define __MACH_ATMEL_MCI_H -#include +#include /** * struct mci_dma_data - DMA data for MCI interface diff --git a/drivers/dma/at_hdmac_regs.h b/drivers/dma/at_hdmac_regs.h index 8a6c8e8..116e4ad 100644 --- a/drivers/dma/at_hdmac_regs.h +++ b/drivers/dma/at_hdmac_regs.h @@ -11,7 +11,7 @@ #ifndef AT_HDMAC_REGS_H #define AT_HDMAC_REGS_H -#include +#include #define AT_DMA_MAX_NR_CHANNELS 8 diff --git a/include/linux/platform_data/atmel-aes.h b/include/linux/platform_data/atmel-aes.h index e7a1949..ab68082 100644 --- a/include/linux/platform_data/atmel-aes.h +++ b/include/linux/platform_data/atmel-aes.h @@ -1,7 +1,7 @@ #ifndef __LINUX_ATMEL_AES_H #define __LINUX_ATMEL_AES_H -#include +#include /** * struct aes_dma_data - DMA data for AES