From patchwork Tue Sep 11 12:59:37 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 11307 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 25D4723F26 for ; Tue, 11 Sep 2012 13:00:01 +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 C8E55A181BC for ; Tue, 11 Sep 2012 13:00:00 +0000 (UTC) Received: by mail-ie0-f180.google.com with SMTP id k11so795973iea.11 for ; Tue, 11 Sep 2012 06:00:00 -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=OVfWtGOxdWQR068HZSj/a0WSmgjz4cAMmajS5Bst53A=; b=hyHZi2Td/r4NB/9vc8ErlnICrHpYVX8Qcu1kEk5C+tcRb8kgvUhr+LDXUrnX0Z1b72 aAYI9UIIiChL72eHwR66OtGg8n5OyjGGfUEv24xlf+Cn7BAfpsRRVQe4R9+BY9Zv8N1p /WiwoknLlARPOdNL3cLV1+MvmxgQQtYc2FHnPj1a5NO3wmKfTeqeZXSiv0IH9SQGwaMb 9swmr+5jSAZq4yzrNUPlKgWXYSA2rTGY3S1C2KP/BfM6ykhxz9/uVsa23XbbuOVpB/7i 1Q3BiY55ySRZJspbEayZOy1GD0awwIfLpP3VzaYqB0TkaRt4lN73kVSzAWXf4naY2PS+ srmQ== Received: by 10.50.237.41 with SMTP id uz9mr16566047igc.43.1347368400545; Tue, 11 Sep 2012 06:00:00 -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 ex8csp11864igc; Tue, 11 Sep 2012 05:59:59 -0700 (PDT) Received: by 10.204.154.74 with SMTP id n10mr4693583bkw.60.1347368399028; Tue, 11 Sep 2012 05:59:59 -0700 (PDT) Received: from moutng.kundenserver.de (moutng.kundenserver.de. [212.227.126.171]) by mx.google.com with ESMTP id ht6si9228903bkc.41.2012.09.11.05.59.58; Tue, 11 Sep 2012 05:59:58 -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 0LhiWz-1Txcrt4BqD-00mqWP; Tue, 11 Sep 2012 14:59:57 +0200 From: Arnd Bergmann To: linux-arm-kernel@lists.infradead.org Cc: linux-kernel@vger.kernel.org, Russell King , Arnd Bergmann , Grant Likely , Hartley Sweeten , Ryan Mallon , Vinod Koul , Dan Williams , Florian Tobias Schandinat , Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai , Mika Westerberg , Axel Lin Subject: [PATCH 03/16] ARM: ep93xx: move platform_data definitions Date: Tue, 11 Sep 2012 14:59:37 +0200 Message-Id: <1347368390-31252-3-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:4S4TzLgjYscIKsl7nNFuaBf5grQHl7TzmfVGNtBFjdu 4pcXw23IakwYSHcP4OXjYuzfhyrG7oSIk5FZOeaa8/4xkvgULz EJFdL3goCpw/HblDjCo6sPL0JCxfVzcwab2Z2WRg/dPFMSlz9M fRG4Nc7mC8bC56sxDo4NAETbOaahJuOIllUUm1GJd0p4SOCiSm pIa371PMOMMksoF0kmCEBio5bYlMRiDEl89wwbMh+Tpfa4D8l4 Elq2XOdKBM9Lujq7fB+pJC2LEqjgUxJZAnZZOwuqVzHKSuJNSi vlqIsVkqxdcw/O0yIfwhpIBehd3ew7Ttb2zFvInWp1vrZetnxH LXN5RrvoCWdnW8H3wvKt5+AKFTYdxQuY2mexxfFuT7pO/03+NE FK2CySUi0YlUoDb8tyu5UZy2nXJZ1GyeRk= X-Gm-Message-State: ALoCoQki+3HfK6GqifTPxwkmSI+eYAJgNilClu/uB28LhFf0Ttwdn695++A6kTuej/6obEOGzSU9 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 ep93xx include directories Signed-off-by: Arnd Bergmann Cc: Grant Likely Cc: Hartley Sweeten Cc: Ryan Mallon Cc: Jeff Garzik (supporter:SERIAL ATA Cc: Vinod Koul Cc: Dan Williams Cc: Dmitry Torokhov (maintainer:INPUT Cc: Florian Tobias Schandinat Cc: Liam Girdwood Cc: Mark Brown Cc: Jaroslav Kysela Cc: Takashi Iwai Cc: Mika Westerberg Cc: Axel Lin --- Documentation/spi/ep93xx_spi | 2 +- arch/arm/mach-ep93xx/core.c | 6 +++--- arch/arm/mach-ep93xx/dma.c | 2 +- arch/arm/mach-ep93xx/edb93xx.c | 4 ++-- arch/arm/mach-ep93xx/simone.c | 2 +- arch/arm/mach-ep93xx/snappercl15.c | 2 +- arch/arm/mach-ep93xx/vision_ep9307.c | 4 ++-- drivers/ata/pata_ep93xx.c | 2 +- drivers/dma/ep93xx_dma.c | 2 +- drivers/input/keyboard/ep93xx_keypad.c | 2 +- drivers/spi/spi-ep93xx.c | 4 ++-- drivers/video/ep93xx-fb.c | 2 +- .../mach/dma.h => include/linux/platform_data/dma-ep93xx.h | 0 .../linux/platform_data/keypad-ep93xx.h | 0 .../ep93xx_spi.h => include/linux/platform_data/spi-ep93xx.h | 0 .../mach/fb.h => include/linux/platform_data/video-ep93xx.h | 0 sound/soc/ep93xx/ep93xx-ac97.c | 2 +- sound/soc/ep93xx/ep93xx-i2s.c | 2 +- sound/soc/ep93xx/ep93xx-pcm.c | 2 +- 19 files changed, 20 insertions(+), 20 deletions(-) rename arch/arm/mach-ep93xx/include/mach/dma.h => include/linux/platform_data/dma-ep93xx.h (100%) rename arch/arm/mach-ep93xx/include/mach/ep93xx_keypad.h => include/linux/platform_data/keypad-ep93xx.h (100%) rename arch/arm/mach-ep93xx/include/mach/ep93xx_spi.h => include/linux/platform_data/spi-ep93xx.h (100%) rename arch/arm/mach-ep93xx/include/mach/fb.h => include/linux/platform_data/video-ep93xx.h (100%) diff --git a/Documentation/spi/ep93xx_spi b/Documentation/spi/ep93xx_spi index d8eb01c..832ddce 100644 --- a/Documentation/spi/ep93xx_spi +++ b/Documentation/spi/ep93xx_spi @@ -26,7 +26,7 @@ arch/arm/mach-ep93xx/ts72xx.c: #include #include -#include +#include /* this is our GPIO line used for chip select */ #define MMC_CHIP_SELECT_GPIO EP93XX_GPIO_LINE_EGPIO9 diff --git a/arch/arm/mach-ep93xx/core.c b/arch/arm/mach-ep93xx/core.c index 4afe52a..e85bf17 100644 --- a/arch/arm/mach-ep93xx/core.c +++ b/arch/arm/mach-ep93xx/core.c @@ -36,9 +36,9 @@ #include #include -#include -#include -#include +#include +#include +#include #include #include diff --git a/arch/arm/mach-ep93xx/dma.c b/arch/arm/mach-ep93xx/dma.c index 16976d7..d8bfd02 100644 --- a/arch/arm/mach-ep93xx/dma.c +++ b/arch/arm/mach-ep93xx/dma.c @@ -25,7 +25,7 @@ #include #include -#include +#include #include #include "soc.h" diff --git a/arch/arm/mach-ep93xx/edb93xx.c b/arch/arm/mach-ep93xx/edb93xx.c index 337ab7c..b8f53d5 100644 --- a/arch/arm/mach-ep93xx/edb93xx.c +++ b/arch/arm/mach-ep93xx/edb93xx.c @@ -35,8 +35,8 @@ #include #include -#include -#include +#include +#include #include #include diff --git a/arch/arm/mach-ep93xx/simone.c b/arch/arm/mach-ep93xx/simone.c index 33dc079..0eb3f17 100644 --- a/arch/arm/mach-ep93xx/simone.c +++ b/arch/arm/mach-ep93xx/simone.c @@ -22,7 +22,7 @@ #include #include -#include +#include #include #include diff --git a/arch/arm/mach-ep93xx/snappercl15.c b/arch/arm/mach-ep93xx/snappercl15.c index 01abd35..50043ee 100644 --- a/arch/arm/mach-ep93xx/snappercl15.c +++ b/arch/arm/mach-ep93xx/snappercl15.c @@ -28,7 +28,7 @@ #include #include -#include +#include #include #include diff --git a/arch/arm/mach-ep93xx/vision_ep9307.c b/arch/arm/mach-ep93xx/vision_ep9307.c index 2905a49..ba92e25 100644 --- a/arch/arm/mach-ep93xx/vision_ep9307.c +++ b/arch/arm/mach-ep93xx/vision_ep9307.c @@ -30,8 +30,8 @@ #include #include -#include -#include +#include +#include #include #include diff --git a/drivers/ata/pata_ep93xx.c b/drivers/ata/pata_ep93xx.c index 6ef2e37..e056406 100644 --- a/drivers/ata/pata_ep93xx.c +++ b/drivers/ata/pata_ep93xx.c @@ -43,7 +43,7 @@ #include #include -#include +#include #include #define DRV_NAME "ep93xx-ide" diff --git a/drivers/dma/ep93xx_dma.c b/drivers/dma/ep93xx_dma.c index c64917e..4aeaea7 100644 --- a/drivers/dma/ep93xx_dma.c +++ b/drivers/dma/ep93xx_dma.c @@ -26,7 +26,7 @@ #include #include -#include +#include #include "dmaengine.h" diff --git a/drivers/input/keyboard/ep93xx_keypad.c b/drivers/input/keyboard/ep93xx_keypad.c index c46fc81..7363402 100644 --- a/drivers/input/keyboard/ep93xx_keypad.c +++ b/drivers/input/keyboard/ep93xx_keypad.c @@ -29,7 +29,7 @@ #include #include -#include +#include /* * Keypad Interface Register offsets diff --git a/drivers/spi/spi-ep93xx.c b/drivers/spi/spi-ep93xx.c index f97f1d2..3a21959 100644 --- a/drivers/spi/spi-ep93xx.c +++ b/drivers/spi/spi-ep93xx.c @@ -31,8 +31,8 @@ #include #include -#include -#include +#include +#include #define SSPCR0 0x0000 #define SSPCR0_MODE_SHIFT 6 diff --git a/drivers/video/ep93xx-fb.c b/drivers/video/ep93xx-fb.c index 345d962..f2c092da 100644 --- a/drivers/video/ep93xx-fb.c +++ b/drivers/video/ep93xx-fb.c @@ -24,7 +24,7 @@ #include #include -#include +#include /* Vertical Frame Timing Registers */ #define EP93XXFB_VLINES_TOTAL 0x0000 /* SW locked */ diff --git a/arch/arm/mach-ep93xx/include/mach/dma.h b/include/linux/platform_data/dma-ep93xx.h similarity index 100% rename from arch/arm/mach-ep93xx/include/mach/dma.h rename to include/linux/platform_data/dma-ep93xx.h diff --git a/arch/arm/mach-ep93xx/include/mach/ep93xx_keypad.h b/include/linux/platform_data/keypad-ep93xx.h similarity index 100% rename from arch/arm/mach-ep93xx/include/mach/ep93xx_keypad.h rename to include/linux/platform_data/keypad-ep93xx.h diff --git a/arch/arm/mach-ep93xx/include/mach/ep93xx_spi.h b/include/linux/platform_data/spi-ep93xx.h similarity index 100% rename from arch/arm/mach-ep93xx/include/mach/ep93xx_spi.h rename to include/linux/platform_data/spi-ep93xx.h diff --git a/arch/arm/mach-ep93xx/include/mach/fb.h b/include/linux/platform_data/video-ep93xx.h similarity index 100% rename from arch/arm/mach-ep93xx/include/mach/fb.h rename to include/linux/platform_data/video-ep93xx.h diff --git a/sound/soc/ep93xx/ep93xx-ac97.c b/sound/soc/ep93xx/ep93xx-ac97.c index bdffab3..c352165 100644 --- a/sound/soc/ep93xx/ep93xx-ac97.c +++ b/sound/soc/ep93xx/ep93xx-ac97.c @@ -21,7 +21,7 @@ #include #include -#include +#include #include "ep93xx-pcm.h" /* diff --git a/sound/soc/ep93xx/ep93xx-i2s.c b/sound/soc/ep93xx/ep93xx-i2s.c index 8df8f6d..ac4a751 100644 --- a/sound/soc/ep93xx/ep93xx-i2s.c +++ b/sound/soc/ep93xx/ep93xx-i2s.c @@ -28,7 +28,7 @@ #include #include -#include +#include #include "ep93xx-pcm.h" diff --git a/sound/soc/ep93xx/ep93xx-pcm.c b/sound/soc/ep93xx/ep93xx-pcm.c index 4eea98b..665d9c9 100644 --- a/sound/soc/ep93xx/ep93xx-pcm.c +++ b/sound/soc/ep93xx/ep93xx-pcm.c @@ -25,7 +25,7 @@ #include #include -#include +#include #include #include