From patchwork Wed Aug 10 07:54:52 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 1051932 Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by demeter2.kernel.org (8.14.4/8.14.4) with ESMTP id p7A7tODf022985 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 10 Aug 2011 07:55:44 GMT Received: from canuck.infradead.org ([2001:4978:20e::1]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1Qr3d2-0003Nh-D9; Wed, 10 Aug 2011 07:55:05 +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 1Qr3d1-0007SP-Uh; Wed, 10 Aug 2011 07:55:03 +0000 Received: from mail-yi0-f49.google.com ([209.85.218.49]) by canuck.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1Qr3cs-0007Qc-Il for linux-arm-kernel@lists.infradead.org; Wed, 10 Aug 2011 07:54:55 +0000 Received: by yic13 with SMTP id 13so555159yic.36 for ; Wed, 10 Aug 2011 00:54:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=ratL3BKOuydMn7KRc38/5NYP8dkZ0mytOInGMvl7T6Q=; b=BwcQFNKSOMq1QKgU5lYjIR9Z1GpmlNCmzNyQw4yQ/fbKEGQSi70SbXX5uYkYcsWQbE uv9LqBYjbSgNBGgYvM1PXn7Ug+qdyOQbVescl9Ir9P0pufXw6q6BHtUDNynjNLSg5g3A m0izKcPtQYoMjJqgowxplidz4zReadqwKjyPc= MIME-Version: 1.0 Received: by 10.43.52.136 with SMTP id vm8mr7437550icb.25.1312962892312; Wed, 10 Aug 2011 00:54:52 -0700 (PDT) Received: by 10.231.35.131 with HTTP; Wed, 10 Aug 2011 00:54:52 -0700 (PDT) In-Reply-To: References: <20110809080411.GA1831@n2100.arm.linux.org.uk> Date: Wed, 10 Aug 2011 09:54:52 +0200 Message-ID: Subject: Re: [PATCH 11/13] ARM: gpio: consolidate trivial gpiolib implementations From: Linus Walleij To: Russell King - ARM Linux X-CRM114-Version: 20090807-BlameThorstenAndJenny ( TRE 0.7.6 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20110810_035454_888455_1B4177FA X-CRM114-Status: GOOD ( 16.92 ) 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.218.49 listed in list.dnswl.org] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (linus.ml.walleij[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 Cc: linux-samsung-soc@vger.kernel.org, linux-sh@vger.kernel.org, linux-arm-msm@vger.kernel.org, Nicolas Pitre , Grant Likely , linux-tegra@vger.kernel.org, linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org 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]); Wed, 10 Aug 2011 07:55:45 +0000 (UTC) X-MIME-Autoconverted: from quoted-printable to 8bit by demeter2.kernel.org id p7A7tODf022985 2011/8/9 Russell King - ARM Linux : > Consolidate 24 trivial gpiolib implementions out of mach/gpio.h > into asm/gpio.h.  This is basically the include of asm-generic/gpio.h > and the definition of gpio_get_value, gpio_set_value, and gpio_cansleep > as described in Documentation/gpio.txt > > Signed-off-by: Russell King reaks compile of plat-nomadik due to missing u32, feel free to fold in the below fix. With that it's Tested-by: Linus Walleij for Nomadik, U300 and Ux500. From 2e4496fc7643d804ccf50a8efe1a0304210176d1 Mon Sep 17 00:00:00 2001 From: Linus Walleij Date: Wed, 10 Aug 2011 09:51:16 +0200 Subject: [PATCH] plat-nomadik: small fixup for gpio.h Removing the generic gpio.h broke compilation of the Nomadik GPIO driver since it implicitly got u32 from it. Explicitly include so we get u32 defined. Signed-off-by: Linus Walleij --- arch/arm/plat-nomadik/include/plat/gpio.h | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/arch/arm/plat-nomadik/include/plat/gpio.h b/arch/arm/plat-nomadik/include/plat/gpio.h index cf0b78b..b894a53 100644 --- a/arch/arm/plat-nomadik/include/plat/gpio.h +++ b/arch/arm/plat-nomadik/include/plat/gpio.h @@ -12,6 +12,8 @@ #ifndef __ASM_PLAT_GPIO_H #define __ASM_PLAT_GPIO_H +#include + /* * "nmk_gpio" and "NMK_GPIO" stand for "Nomadik GPIO", leaving * the "gpio" namespace for generic and cross-machine functions