From patchwork Tue May 31 12:42:49 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: axel lin X-Patchwork-Id: 832312 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter2.kernel.org (8.14.4/8.14.3) with ESMTP id p4VChTIS027869 for ; Tue, 31 May 2011 12:43:29 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752547Ab1EaMnL (ORCPT ); Tue, 31 May 2011 08:43:11 -0400 Received: from mail-pv0-f174.google.com ([74.125.83.174]:59604 "EHLO mail-pv0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751532Ab1EaMnJ (ORCPT ); Tue, 31 May 2011 08:43:09 -0400 Received: by pvg12 with SMTP id 12so2004117pvg.19 for ; Tue, 31 May 2011 05:43:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:subject:from:to:cc:content-type:date:message-id :mime-version:x-mailer:content-transfer-encoding; bh=8Vgtd0SFSJkQoHLk1OIsCA4TVMbU2Sxym6IdWmaaeIQ=; b=KfnMNAUYIxTdsaP4u0kPiZNMmXg+GzlnkBKsUM+iJ3vAqYI0jRbMd0U+Cro013NgNh 3xU5jFqAuJgF0ZwJScX0J1g1AJASQVvSi1xrOHTX/5wQnmBeLEapRKR7Q3Hbpr411Pk+ hJTelPLfW/8/XLdJZKOG4fcPcaGEJsuRjQOuA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:cc:content-type:date:message-id:mime-version :x-mailer:content-transfer-encoding; b=dPY5ewqJiFb/CzSogLe4yPj+InHmavCh/X0Ls1vWpG7Y2e0gPvU/SPk/ZtqABvXHUd UDNPzBhLS7ajZ1/HVxIAHpitz6ucPLoEhbN9wmE1EsjVqf2vdHrS3wtXORL6CCdkXnQY IllybVsM3LK4k6pY+6jTCeU4dW5VabKxwMpVY= Received: by 10.68.21.164 with SMTP id w4mr2416488pbe.268.1306845789101; Tue, 31 May 2011 05:43:09 -0700 (PDT) Received: from [59.117.65.239] (59-117-65-239.dynamic.hinet.net [59.117.65.239]) by mx.google.com with ESMTPS id c5sm20389pbj.41.2011.05.31.05.42.59 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 31 May 2011 05:43:07 -0700 (PDT) Subject: [PATCH] ARM: OMAP2: Add missing include of linux/gpio.h From: Axel Lin To: linux-kernel@vger.kernel.org Cc: Syed Mohammed Khasim , Grazvydas Ignotas , Steve Sakoman , Tony Lindgren , Russell King , linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org Date: Tue, 31 May 2011 20:42:49 +0800 Message-ID: <1306845769.27719.1.camel@phoenix> Mime-Version: 1.0 X-Mailer: Evolution 2.32.2 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter2.kernel.org [140.211.167.43]); Tue, 31 May 2011 12:43:29 +0000 (UTC) I got some build error like below while executing "make omap2plus_defconfig". CC arch/arm/mach-omap2/board-2430sdp.o arch/arm/mach-omap2/board-2430sdp.c: In function 'omap_2430sdp_init': arch/arm/mach-omap2/board-2430sdp.c:247: error: 'GPIOF_OUT_INIT_LOW' undeclared (first use in this function) arch/arm/mach-omap2/board-2430sdp.c:247: error: (Each undeclared identifier is reported only once arch/arm/mach-omap2/board-2430sdp.c:247: error: for each function it appears in.) make[1]: *** [arch/arm/mach-omap2/board-2430sdp.o] Error 1 make: *** [arch/arm/mach-omap2] Error 2 This patch fixes the build error. Signed-off-by: Axel Lin Cc: Syed Mohammed Khasim Cc: Tony Lindgren Cc: Grazvydas Ignotas Cc: Steve Sakoman --- arch/arm/mach-omap2/board-2430sdp.c | 1 + arch/arm/mach-omap2/board-apollon.c | 1 + arch/arm/mach-omap2/board-omap3pandora.c | 1 + arch/arm/mach-omap2/board-overo.c | 1 + 4 files changed, 4 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-omap2/board-2430sdp.c b/arch/arm/mach-omap2/board-2430sdp.c index d54969b..329b95c 100644 --- a/arch/arm/mach-omap2/board-2430sdp.c +++ b/arch/arm/mach-omap2/board-2430sdp.c @@ -26,6 +26,7 @@ #include #include #include +#include #include #include diff --git a/arch/arm/mach-omap2/board-apollon.c b/arch/arm/mach-omap2/board-apollon.c index f3beb8e..41f07b0 100644 --- a/arch/arm/mach-omap2/board-apollon.c +++ b/arch/arm/mach-omap2/board-apollon.c @@ -27,6 +27,7 @@ #include #include #include +#include #include #include diff --git a/arch/arm/mach-omap2/board-omap3pandora.c b/arch/arm/mach-omap2/board-omap3pandora.c index 1d10736..89d5fba 100644 --- a/arch/arm/mach-omap2/board-omap3pandora.c +++ b/arch/arm/mach-omap2/board-omap3pandora.c @@ -30,6 +30,7 @@ #include #include #include +#include #include #include #include diff --git a/arch/arm/mach-omap2/board-overo.c b/arch/arm/mach-omap2/board-overo.c index 1555918..5942aa5 100644 --- a/arch/arm/mach-omap2/board-overo.c +++ b/arch/arm/mach-omap2/board-overo.c @@ -24,6 +24,7 @@ #include #include #include +#include #include #include #include