From patchwork Fri Jul 29 14:23:53 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Brown X-Patchwork-Id: 1020822 Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by demeter1.kernel.org (8.14.4/8.14.4) with ESMTP id p6TEODQW019408 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 29 Jul 2011 14:24:35 GMT Received: from canuck.infradead.org ([2001:4978:20e::1]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1Qmnyr-0005GB-AJ; Fri, 29 Jul 2011 14:24:01 +0000 Received: from localhost ([127.0.0.1] helo=canuck.infradead.org) by canuck.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1Qmnyq-0003hT-Pz; Fri, 29 Jul 2011 14:24:00 +0000 Received: from opensource.wolfsonmicro.com ([80.75.67.52] helo=opensource2.wolfsonmicro.com) by canuck.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1Qmnyn-0003gt-K1 for linux-arm-kernel@lists.infradead.org; Fri, 29 Jul 2011 14:23:58 +0000 Received: from finisterre.wolfsonmicro.main (unknown [87.246.78.26]) by opensource2.wolfsonmicro.com (Postfix) with ESMTPSA id 45D1A11047F; Fri, 29 Jul 2011 15:23:54 +0100 (BST) Received: from broonie by finisterre.wolfsonmicro.main with local (Exim 4.76) (envelope-from ) id 1Qmnyj-0008PV-N7; Fri, 29 Jul 2011 15:23:53 +0100 From: Mark Brown To: Kukjin Kim , Ben Dooks Subject: [PATCH] ARM: SAMSUNG: Fix build of new dev- infrastructure Date: Fri, 29 Jul 2011 15:23:53 +0100 Message-Id: <1311949433-32299-1-git-send-email-broonie@opensource.wolfsonmicro.com> X-Mailer: git-send-email 1.7.5.4 X-CRM114-Version: 20090807-BlameThorstenAndJenny ( TRE 0.7.6 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20110729_102357_913933_C1453C4D X-CRM114-Status: GOOD ( 10.48 ) X-Spam-Score: -1.2 (-) X-Spam-Report: SpamAssassin version 3.3.1 on canuck.infradead.org summary: Content analysis details: (-1.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -1.2 RP_MATCHES_RCVD Envelope sender domain matches handover relay domain Cc: patches@opensource.wolfsonmicro.com, linux-arm-kernel@lists.infradead.org, Mark Brown X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.12 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 X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Fri, 29 Jul 2011 14:24:35 +0000 (UTC) The newly added generic dev- files use memory allocation, GFP_KERNEL and SZ_ macros without explicitly including the relevant headers, breaking builds on at least s3c64xx. Signed-off-by: Mark Brown --- arch/arm/plat-samsung/dev-adc.c | 2 ++ arch/arm/plat-samsung/dev-backlight.c | 3 +++ arch/arm/plat-samsung/dev-ide.c | 2 ++ arch/arm/plat-samsung/dev-ts.c | 2 ++ arch/arm/plat-samsung/dev-wdt.c | 3 +++ arch/arm/plat-samsung/platformdata.c | 1 + 6 files changed, 13 insertions(+), 0 deletions(-) diff --git a/arch/arm/plat-samsung/dev-adc.c b/arch/arm/plat-samsung/dev-adc.c index 9d903d4..c7e3257 100644 --- a/arch/arm/plat-samsung/dev-adc.c +++ b/arch/arm/plat-samsung/dev-adc.c @@ -13,6 +13,8 @@ #include #include +#include + #include #include diff --git a/arch/arm/plat-samsung/dev-backlight.c b/arch/arm/plat-samsung/dev-backlight.c index 3cedd4c..825a884 100644 --- a/arch/arm/plat-samsung/dev-backlight.c +++ b/arch/arm/plat-samsung/dev-backlight.c @@ -14,6 +14,9 @@ #include #include #include +#include + +#include #include #include diff --git a/arch/arm/plat-samsung/dev-ide.c b/arch/arm/plat-samsung/dev-ide.c index b497982..5407574 100644 --- a/arch/arm/plat-samsung/dev-ide.c +++ b/arch/arm/plat-samsung/dev-ide.c @@ -14,6 +14,8 @@ #include #include +#include + #include #include #include diff --git a/arch/arm/plat-samsung/dev-ts.c b/arch/arm/plat-samsung/dev-ts.c index 82543f0..3eede40 100644 --- a/arch/arm/plat-samsung/dev-ts.c +++ b/arch/arm/plat-samsung/dev-ts.c @@ -17,6 +17,8 @@ #include #include +#include + #include #include diff --git a/arch/arm/plat-samsung/dev-wdt.c b/arch/arm/plat-samsung/dev-wdt.c index 019b5b8..207a213 100644 --- a/arch/arm/plat-samsung/dev-wdt.c +++ b/arch/arm/plat-samsung/dev-wdt.c @@ -12,6 +12,9 @@ #include #include +#include + +#include #include #include diff --git a/arch/arm/plat-samsung/platformdata.c b/arch/arm/plat-samsung/platformdata.c index 7cf2e1e..f857593 100644 --- a/arch/arm/plat-samsung/platformdata.c +++ b/arch/arm/plat-samsung/platformdata.c @@ -12,6 +12,7 @@ #include #include #include +#include #include