From patchwork Tue Sep 11 13:02: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: 1437901 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 AB425DFAF3 for ; Tue, 11 Sep 2012 13:10:41 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1TBQ9y-0003kd-CV; Tue, 11 Sep 2012 13:05:48 +0000 Received: from moutng.kundenserver.de ([212.227.126.187]) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1TBQ7P-00026Q-Sh for linux-arm-kernel@lists.infradead.org; Tue, 11 Sep 2012 13:03:10 +0000 Received: from klappe2.boeblingen.de.ibm.com (deibp9eh1--blueice3n2.emea.ibm.com [195.212.29.180]) by mrelayeu.kundenserver.de (node=mrbap1) with ESMTP (Nemesis) id 0MgHFG-1SwcIO26Lu-00NIlY; Tue, 11 Sep 2012 15:03:06 +0200 From: Arnd Bergmann To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 16/16] ARM: spear: move platform_data definitions Date: Tue, 11 Sep 2012 15:02:39 +0200 Message-Id: <1347368559-31329-4-git-send-email-arnd@arndb.de> X-Mailer: git-send-email 1.7.10 In-Reply-To: <1347368559-31329-1-git-send-email-arnd@arndb.de> References: <1347368350-31212-1-git-send-email-arnd@arndb.de> <1347368559-31329-1-git-send-email-arnd@arndb.de> X-Provags-ID: V02:K0:IQAwJC+3XjADsbEXZ9kevpfhWhWY7SY1A4O/9waVs0r MFRc/HZE8/oPVFfgoiGeJHU/HA5DoHcrf3ZqIjb+laWlIipAkS C1/ItJZ5Jw42y4Qh9kQXrrrHDLNwmRGr8uTKN6lxIGxbZmtABq kmeuxsNxQ9AGOZ2zINGb4QaZ2ruMdXP4T9atSmU2xPoML8uWXT TOr6m6TegT2k72887sVr2XLFiLHnr36A/xvBjAUpRzh8E8Qw3g BYklcMaF1BYyTBqt+V0ZHEfOxdnNk8yyTGtRWB81xQYhu7zhrB tGWZA+Zg44cpyY+o/+7Zv2rmoFWGQ9CRKZIBXLKTx1ljkxOX3G Fs1tgUh/X6Uq/YMyQqYPaDd7ZaHmVTmHaw8l0kxOvdt8rYj9hn knJ52dEyoV5yB4jc6iCEtAnP3YWPXRHpNg= 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.126.187 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: Dmitry Torokhov , Russell King , Arnd Bergmann , spear-devel@list.st.com, linux-kernel@vger.kernel.org, Shiraz Hashim , Viresh Kumar 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 spear include directories Signed-off-by: Arnd Bergmann Cc: Viresh Kumar Cc: Shiraz Hashim Cc: spear-devel@list.st.com Cc: Dmitry Torokhov Acked-by: Viresh Kumar --- drivers/input/keyboard/spear-keyboard.c | 2 +- .../plat/keyboard.h => include/linux/platform_data/keyboard-spear.h | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename arch/arm/plat-spear/include/plat/keyboard.h => include/linux/platform_data/keyboard-spear.h (100%) diff --git a/arch/arm/plat-spear/include/plat/keyboard.h b/include/linux/platform_data/keyboard-spear.h similarity index 100% rename from arch/arm/plat-spear/include/plat/keyboard.h rename to include/linux/platform_data/keyboard-spear.h diff --git a/drivers/input/keyboard/spear-keyboard.c b/drivers/input/keyboard/spear-keyboard.c index 72ef01b..c7ca97f 100644 --- a/drivers/input/keyboard/spear-keyboard.c +++ b/drivers/input/keyboard/spear-keyboard.c @@ -24,7 +24,7 @@ #include #include #include -#include +#include /* Keyboard Registers */ #define MODE_CTL_REG 0x00