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: 11317 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 692CF23F26 for ; Tue, 11 Sep 2012 13:03:16 +0000 (UTC) Received: from mail-iy0-f180.google.com (mail-iy0-f180.google.com [209.85.210.180]) by fiordland.canonical.com (Postfix) with ESMTP id 1438DA18BF3 for ; Tue, 11 Sep 2012 13:03:15 +0000 (UTC) Received: by iafj25 with SMTP id j25so362068iaf.11 for ; Tue, 11 Sep 2012 06:03:15 -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=cOCtC8vaY37FPkLZ61MQbxV1TITPn87/uyKKHtfxs0w=; b=Z4tJ2EdG5z8niT80r61ISI9OUcGOvcV3wWmtDqQXScvWQXfYljK+P2Sz4sKTxqcbEo lYBTttpboGC13U5U8gYJsJRsFL6SpQoJbM2Cr+kZ/At/AKhmcfRnbG2PrP5yGEQkL2Zk UzixD0UxBj3ZrBv8vH2LPmnGf0A/CaFUvJH4usQdA0VMRzpVSWYblaHBcFV4O5sZS0MB l4kZEoJK0tfB3St6Y2vkLHNI9SA64pDbG2MF9+rHGT8B0D2Rj1DGc2X8fx3hn23kNgVD HlXSl/wSv2w0OyH3o1Y9PRaFsPsVGm7K3ONLV0iGFhV3Gp0qao3ABWjGLkYSBJTJrIyS NULg== Received: by 10.50.207.106 with SMTP id lv10mr16967519igc.0.1347368595457; Tue, 11 Sep 2012 06:03:15 -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 ex8csp12010igc; Tue, 11 Sep 2012 06:03:14 -0700 (PDT) Received: by 10.204.156.87 with SMTP id v23mr4853108bkw.0.1347368593809; Tue, 11 Sep 2012 06:03:13 -0700 (PDT) Received: from moutng.kundenserver.de (moutng.kundenserver.de. [212.227.126.187]) by mx.google.com with ESMTP id hc17si9238388bkc.94.2012.09.11.06.03.13; Tue, 11 Sep 2012 06:03:13 -0700 (PDT) Received-SPF: neutral (google.com: 212.227.126.187 is neither permitted nor denied by best guess record for domain of arnd@arndb.de) client-ip=212.227.126.187; Authentication-Results: mx.google.com; spf=neutral (google.com: 212.227.126.187 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=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 Cc: linux-kernel@vger.kernel.org, Russell King , Arnd Bergmann , Viresh Kumar , Shiraz Hashim , spear-devel@list.st.com, Dmitry Torokhov 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-Gm-Message-State: ALoCoQkSus4z21I8pgaCOkiO2q3ghVlp9g3xdx0KAUPWKPX9R3iXPlhntr/q/Y/caeY8Piwufagz 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 --- 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