From patchwork Tue Sep 11 12:59:39 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 11309 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 ADE5423F26 for ; Tue, 11 Sep 2012 13:00:16 +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 5FD01A18BEC for ; Tue, 11 Sep 2012 13:00:16 +0000 (UTC) Received: by mail-ie0-f180.google.com with SMTP id k11so795973iea.11 for ; Tue, 11 Sep 2012 06:00:16 -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=sGGhwQYUNTruhpy0/OqdSG4k3wyXScOGEjEtj1qWVpA=; b=Qbi3ecH0xax3OZ3Fl15YZZYkBKI7Ofj3KXRzvtoULMXQX3JgUfkkQzNWgDsWlGkwBZ qlFA3ZbXJFV1eKlSTrbW5vcOjwErWPeYNyQb+8C2ev4XSaNDpakCCIA8YAZ9XhyLnFAn 7Hhip9xOjcxEJdYKBEZqqRJktpoONPqP8hXoQRZqf3J2EzjClBxvSc3dmKXoIPoHG2FN aSmliMfiX0PKb9LXvcGOApBJPdi1jBcRewJeKKXyqCKXaZCG50JXR3gJmhyFKrHGI3a9 /63Nd7avuIUHa/v4uWFoESXE8wnEuB8ShsuAs6Q68bCLn4O0T6BSP6bOCvRP3aBG22wP 8YoQ== Received: by 10.42.109.194 with SMTP id m2mr21515857icp.48.1347368416141; Tue, 11 Sep 2012 06:00:16 -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 ex8csp11882igc; Tue, 11 Sep 2012 06:00:15 -0700 (PDT) Received: by 10.205.119.208 with SMTP id fv16mr4813336bkc.100.1347368414715; Tue, 11 Sep 2012 06:00:14 -0700 (PDT) Received: from moutng.kundenserver.de (moutng.kundenserver.de. [212.227.17.8]) by mx.google.com with ESMTP id gq18si9223377bkc.91.2012.09.11.06.00.14; Tue, 11 Sep 2012 06:00:14 -0700 (PDT) Received-SPF: neutral (google.com: 212.227.17.8 is neither permitted nor denied by best guess record for domain of arnd@arndb.de) client-ip=212.227.17.8; Authentication-Results: mx.google.com; spf=neutral (google.com: 212.227.17.8 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 0MZysF-1SplmT2IGt-00Lp71; Tue, 11 Sep 2012 14:59:58 +0200 From: Arnd Bergmann To: linux-arm-kernel@lists.infradead.org Cc: linux-kernel@vger.kernel.org, Russell King , Arnd Bergmann , David Brown , Daniel Walker , Bryan Huntsman , Chris Ball , Florian Tobias Schandinat , linux-arm-msm@vger.kernel.org Subject: [PATCH 05/16] ARM: msm: move platform_data definitions Date: Tue, 11 Sep 2012 14:59:39 +0200 Message-Id: <1347368390-31252-5-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:Z42aUcj0KjB9+Ha0tSeQqEUPTFNu7/RArZ/R+e/d1x1 KO+O8zmroODEJlURTaxg42gZRZtU+cVqe4+9CqfPoId1seq4LN CgRAOfac4n+EBBTipWs258HKLMMYRlYhdk1Xam/k1Adun9ou/T 7wgKyKMmPJNCz4i4af2Oj9tJTz+mlZsx49mDh00dKOUrMRBK3K wCm9Byk32PZjy43blaoqtDzaDfRghNSxkAS8qcgjs+mL+TSnqH +i5zyHEzVW/S1KoBnDkKM2Z3JuZH397jn5aFIpbYpHLATomsQy e6QNaCG0zuTyOXw1JRYmOczHr5RbFLlMy1Vnwo/j2MRNb4nEyd NbkO8fhcK739NL9INHPcFfyhBGTa5TNFQACucRdapheiV55ycT pK/0VtuoxHGzEXkOwzJowjNJQ/rxZONd4g= X-Gm-Message-State: ALoCoQlAj7l3udMKCrOfP/kIk3f3sA3bCuPWE3xZt8hlL9SjVGxzD+qqXcp/BOCU1mXHEMsp3ux+ 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 msm include directories Signed-off-by: Arnd Bergmann Cc: David Brown Cc: Daniel Walker Cc: Bryan Huntsman Cc: Chris Ball Cc: Florian Tobias Schandinat Cc: linux-arm-msm@vger.kernel.org --- arch/arm/mach-msm/board-qsd8x50.c | 2 +- arch/arm/mach-msm/board-trout-mmc.c | 2 +- arch/arm/mach-msm/board-trout-panel.c | 2 +- arch/arm/mach-msm/devices-msm7x00.c | 2 +- arch/arm/mach-msm/devices-msm7x30.c | 2 +- arch/arm/mach-msm/devices-qsd8x50.c | 2 +- arch/arm/mach-msm/include/mach/board.h | 2 +- drivers/mmc/host/msm_sdcc.c | 2 +- drivers/video/msm/mddi.c | 2 +- drivers/video/msm/mddi_client_dummy.c | 2 +- drivers/video/msm/mddi_client_nt35399.c | 2 +- drivers/video/msm/mddi_client_toshiba.c | 2 +- drivers/video/msm/mdp.c | 2 +- drivers/video/msm/mdp_hw.h | 2 +- drivers/video/msm/mdp_ppp.c | 2 +- drivers/video/msm/msm_fb.c | 2 +- .../include/mach/mmc.h => include/linux/platform_data/mmc-msm_sdcc.h | 0 .../mach/msm_fb.h => include/linux/platform_data/video-msm_fb.h | 0 18 files changed, 16 insertions(+), 16 deletions(-) rename arch/arm/mach-msm/include/mach/mmc.h => include/linux/platform_data/mmc-msm_sdcc.h (100%) rename arch/arm/mach-msm/include/mach/msm_fb.h => include/linux/platform_data/video-msm_fb.h (100%) diff --git a/arch/arm/mach-msm/include/mach/mmc.h b/include/linux/platform_data/mmc-msm_sdcc.h similarity index 100% rename from arch/arm/mach-msm/include/mach/mmc.h rename to include/linux/platform_data/mmc-msm_sdcc.h diff --git a/arch/arm/mach-msm/include/mach/msm_fb.h b/include/linux/platform_data/video-msm_fb.h similarity index 100% rename from arch/arm/mach-msm/include/mach/msm_fb.h rename to include/linux/platform_data/video-msm_fb.h diff --git a/arch/arm/mach-msm/board-qsd8x50.c b/arch/arm/mach-msm/board-qsd8x50.c index c8fe0ed..b21bb4c 100644 --- a/arch/arm/mach-msm/board-qsd8x50.c +++ b/arch/arm/mach-msm/board-qsd8x50.c @@ -32,7 +32,7 @@ #include #include #include -#include +#include #include "devices.h" diff --git a/arch/arm/mach-msm/board-trout-mmc.c b/arch/arm/mach-msm/board-trout-mmc.c index 8650342..3723e55 100644 --- a/arch/arm/mach-msm/board-trout-mmc.c +++ b/arch/arm/mach-msm/board-trout-mmc.c @@ -15,7 +15,7 @@ #include -#include +#include #include "devices.h" diff --git a/arch/arm/mach-msm/board-trout-panel.c b/arch/arm/mach-msm/board-trout-panel.c index 89bf6b4..f9a5db6 100644 --- a/arch/arm/mach-msm/board-trout-panel.c +++ b/arch/arm/mach-msm/board-trout-panel.c @@ -14,7 +14,7 @@ #include #include -#include +#include #include #include "board-trout.h" diff --git a/arch/arm/mach-msm/devices-msm7x00.c b/arch/arm/mach-msm/devices-msm7x00.c index 993780f..f66ee6e 100644 --- a/arch/arm/mach-msm/devices-msm7x00.c +++ b/arch/arm/mach-msm/devices-msm7x00.c @@ -27,7 +27,7 @@ #include "clock.h" #include "clock-pcom.h" -#include +#include static struct resource resources_uart1[] = { { diff --git a/arch/arm/mach-msm/devices-msm7x30.c b/arch/arm/mach-msm/devices-msm7x30.c index 09b4f14..e90ab59 100644 --- a/arch/arm/mach-msm/devices-msm7x30.c +++ b/arch/arm/mach-msm/devices-msm7x30.c @@ -31,7 +31,7 @@ #include "clock-pcom.h" #include "clock-7x30.h" -#include +#include static struct resource resources_uart2[] = { { diff --git a/arch/arm/mach-msm/devices-qsd8x50.c b/arch/arm/mach-msm/devices-qsd8x50.c index 131633b..4db61d5 100644 --- a/arch/arm/mach-msm/devices-qsd8x50.c +++ b/arch/arm/mach-msm/devices-qsd8x50.c @@ -27,7 +27,7 @@ #include -#include +#include #include "clock-pcom.h" static struct resource resources_uart3[] = { diff --git a/arch/arm/mach-msm/include/mach/board.h b/arch/arm/mach-msm/include/mach/board.h index 435f8ed..70e0f98 100644 --- a/arch/arm/mach-msm/include/mach/board.h +++ b/arch/arm/mach-msm/include/mach/board.h @@ -18,7 +18,7 @@ #define __ASM_ARCH_MSM_BOARD_H #include -#include +#include /* platform device data structures */ diff --git a/drivers/mmc/host/msm_sdcc.c b/drivers/mmc/host/msm_sdcc.c index 1d14cda..7c0af0e 100644 --- a/drivers/mmc/host/msm_sdcc.c +++ b/drivers/mmc/host/msm_sdcc.c @@ -42,7 +42,7 @@ #include #include -#include +#include #include #include #include diff --git a/drivers/video/msm/mddi.c b/drivers/video/msm/mddi.c index b061d70..bf73f04 100644 --- a/drivers/video/msm/mddi.c +++ b/drivers/video/msm/mddi.c @@ -29,7 +29,7 @@ #include #include #include -#include +#include #include "mddi_hw.h" #define FLAG_DISABLE_HIBERNATION 0x0001 diff --git a/drivers/video/msm/mddi_client_dummy.c b/drivers/video/msm/mddi_client_dummy.c index d2a091c..f1b0dfc 100644 --- a/drivers/video/msm/mddi_client_dummy.c +++ b/drivers/video/msm/mddi_client_dummy.c @@ -20,7 +20,7 @@ #include #include -#include +#include struct panel_info { struct platform_device pdev; diff --git a/drivers/video/msm/mddi_client_nt35399.c b/drivers/video/msm/mddi_client_nt35399.c index 7fcd67e..d7a5bf8 100644 --- a/drivers/video/msm/mddi_client_nt35399.c +++ b/drivers/video/msm/mddi_client_nt35399.c @@ -22,7 +22,7 @@ #include #include #include -#include +#include static DECLARE_WAIT_QUEUE_HEAD(nt35399_vsync_wait); diff --git a/drivers/video/msm/mddi_client_toshiba.c b/drivers/video/msm/mddi_client_toshiba.c index 053eb68..061d7df 100644 --- a/drivers/video/msm/mddi_client_toshiba.c +++ b/drivers/video/msm/mddi_client_toshiba.c @@ -22,7 +22,7 @@ #include #include #include -#include +#include #define LCD_CONTROL_BLOCK_BASE 0x110000 diff --git a/drivers/video/msm/mdp.c b/drivers/video/msm/mdp.c index cb2ddf1..d1f881e 100644 --- a/drivers/video/msm/mdp.c +++ b/drivers/video/msm/mdp.c @@ -26,7 +26,7 @@ #include #include -#include +#include #include #include diff --git a/drivers/video/msm/mdp_hw.h b/drivers/video/msm/mdp_hw.h index d804774..a0bacf5 100644 --- a/drivers/video/msm/mdp_hw.h +++ b/drivers/video/msm/mdp_hw.h @@ -16,7 +16,7 @@ #define _MDP_HW_H_ #include -#include +#include struct mdp_info { struct mdp_device mdp_dev; diff --git a/drivers/video/msm/mdp_ppp.c b/drivers/video/msm/mdp_ppp.c index 2b6564e..be6079c 100644 --- a/drivers/video/msm/mdp_ppp.c +++ b/drivers/video/msm/mdp_ppp.c @@ -16,7 +16,7 @@ #include #include #include -#include +#include #include "mdp_hw.h" #include "mdp_scale_tables.h" diff --git a/drivers/video/msm/msm_fb.c b/drivers/video/msm/msm_fb.c index c6e3b4f..ec08a9e 100644 --- a/drivers/video/msm/msm_fb.c +++ b/drivers/video/msm/msm_fb.c @@ -25,7 +25,7 @@ #include #include #include -#include +#include #include #include #include