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: 832332 Received: from canuck.infradead.org (canuck.infradead.org [134.117.69.58]) by demeter2.kernel.org (8.14.4/8.14.3) with ESMTP id p4VCikic029330 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 31 May 2011 12:45:06 GMT 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 1QROIF-0008L6-H3; Tue, 31 May 2011 12:43:31 +0000 Received: from mail-px0-f171.google.com ([209.85.212.171]) by canuck.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1QROI1-0008IH-Us for linux-arm-kernel@lists.infradead.org; Tue, 31 May 2011 12:43:28 +0000 Received: by pxi7 with SMTP id 7so3108321pxi.16 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 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 X-CRM114-Version: 20090807-BlameThorstenAndJenny ( TRE 0.7.6 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20110531_084324_189957_7792D4C9 X-CRM114-Status: GOOD ( 13.84 ) X-Spam-Score: -0.8 (/) X-Spam-Report: SpamAssassin version 3.3.1 on canuck.infradead.org summary: Content analysis details: (-0.8 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.212.171 listed in list.dnswl.org] 0.0 FREEMAIL_FROM Sender email is freemail (axel.lin[at]gmail.com) -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.0 RFC_ABUSE_POST Both abuse and postmaster missing on sender domain 0.0 T_TO_NO_BRKTS_FREEMAIL T_TO_NO_BRKTS_FREEMAIL Cc: Russell King , Tony Lindgren , Syed Mohammed Khasim , Grazvydas Ignotas , linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Steve Sakoman 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: , 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 (demeter2.kernel.org [140.211.167.43]); Tue, 31 May 2011 12:45:06 +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