From patchwork Fri Aug 12 08:25:56 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: axel lin X-Patchwork-Id: 1059962 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 p7C8QRUY031954 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 12 Aug 2011 08:26:48 GMT Received: from canuck.infradead.org ([2001:4978:20e::1]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1Qrn4H-0006NG-Od; Fri, 12 Aug 2011 08:26:14 +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 1Qrn4H-000496-9E; Fri, 12 Aug 2011 08:26:13 +0000 Received: from mail-iy0-f171.google.com ([209.85.210.171]) by canuck.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1Qrn4E-00048m-F9 for linux-arm-kernel@lists.infradead.org; Fri, 12 Aug 2011 08:26:11 +0000 Received: by iyf13 with SMTP id 13so1201957iyf.16 for ; Fri, 12 Aug 2011 01:26:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=subject:from:to:cc:content-type:date:message-id:mime-version :x-mailer:content-transfer-encoding; bh=ih/E7R2SvS5FVp5fkB8V74iU2GYv/z96l9nFYjr1vdU=; b=KaTw/IfPo+QL35Tz/a/bLsStxwVYF6cBcR3td0C7Kqw+ZA9hVIxEDuD5XeRD3OzxDM Wep5a2Zc0E+AKLxxwpJS8eQm46t70KSk54NRggY1Pjz34X1tw945KoDVw94faobzu8kS n9Sgf4nSyDHoVw89ZJP3WkyT/NqF2Y48emtT8= Received: by 10.42.161.135 with SMTP id t7mr618612icx.401.1313137565834; Fri, 12 Aug 2011 01:26:05 -0700 (PDT) Received: from [218.172.236.96] (218-172-236-96.dynamic.hinet.net [218.172.236.96]) by mx.google.com with ESMTPS id d8sm4433659icy.9.2011.08.12.01.26.03 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 12 Aug 2011 01:26:05 -0700 (PDT) Subject: [PATCH] [ARM] Orion: gpio: add missing include of linux/types.h From: Axel Lin To: linux-kernel@vger.kernel.org Date: Fri, 12 Aug 2011 16:25:56 +0800 Message-ID: <1313137556.24918.2.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-20110812_042610_755449_55315A5B X-CRM114-Status: GOOD ( 12.61 ) 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.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (axel.lin[at]gmail.com) -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.210.171 listed in list.dnswl.org] -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 T_TO_NO_BRKTS_FREEMAIL To: misformatted and free email service Cc: Russell King , Lennert Buytenhek , linux-arm-kernel@lists.infradead.org, Nicolas Pitre 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 (demeter1.kernel.org [140.211.167.41]); Fri, 12 Aug 2011 08:26:48 +0000 (UTC) This patch adds missing include of linux/types.h to fix below build error. CC arch/arm/mach-mv78xx0/mpp.o In file included from arch/arm/mach-mv78xx0/include/mach/gpio.h:9, from /home/axel/repos/git/linux-2.6/arch/arm/include/asm/gpio.h:5, from include/linux/gpio.h:18, from arch/arm/mach-mv78xx0/mpp.c:10: arch/arm/plat-orion/include/plat/gpio.h:28: error: expected declaration specifiers or '...' before 'u32' make[1]: *** [arch/arm/mach-mv78xx0/mpp.o] Error 1 make: *** [arch/arm/mach-mv78xx0] Error 2 Signed-off-by: Axel Lin Reviewed-by: Peter Huewe --- This patch is against linux-next tree ( next-20110811 ). arch/arm/plat-orion/include/plat/gpio.h | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/arch/arm/plat-orion/include/plat/gpio.h b/arch/arm/plat-orion/include/plat/gpio.h index f7d76308..3abf304 100644 --- a/arch/arm/plat-orion/include/plat/gpio.h +++ b/arch/arm/plat-orion/include/plat/gpio.h @@ -12,6 +12,7 @@ #define __PLAT_GPIO_H #include +#include /* * Orion-specific GPIO API extensions.