From patchwork Thu May 6 11:02:16 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ranjith Lohithakshan X-Patchwork-Id: 97333 X-Patchwork-Delegate: khilman@deeprootsystems.com Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.3) with ESMTP id o46B2PFv030212 for ; Thu, 6 May 2010 11:02:25 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752526Ab0EFLCY (ORCPT ); Thu, 6 May 2010 07:02:24 -0400 Received: from bear.ext.ti.com ([192.94.94.41]:43623 "EHLO bear.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752006Ab0EFLCY (ORCPT ); Thu, 6 May 2010 07:02:24 -0400 Received: from dbdp31.itg.ti.com ([172.24.170.98]) by bear.ext.ti.com (8.13.7/8.13.7) with ESMTP id o46B2Jvv001680 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 6 May 2010 06:02:22 -0500 Received: from psplinux050.india.ti.com (localhost [127.0.0.1]) by dbdp31.itg.ti.com (8.13.8/8.13.8) with ESMTP id o46B2HeD021868; Thu, 6 May 2010 16:32:18 +0530 (IST) Received: from psplinux050.india.ti.com (localhost [127.0.0.1]) by psplinux050.india.ti.com (8.13.1/8.13.1) with ESMTP id o46B2HDI028827; Thu, 6 May 2010 16:32:17 +0530 Received: (from a0876318@localhost) by psplinux050.india.ti.com (8.13.1/8.13.1/Submit) id o46B2GiL028824; Thu, 6 May 2010 16:32:16 +0530 From: Ranjith Lohithakshan To: linux-omap@vger.kernel.org Cc: khilman@deeprootsystems.com, ranjithl@ti.com Subject: [PATCH] OMAP3: GPIO: Replace CONFIG_ARCH_OMAP34XX with CONFIG_ARCH_OMAP3 Date: Thu, 6 May 2010 16:32:16 +0530 Message-Id: <1273143736-28784-1-git-send-email-ranjithl@ti.com> X-Mailer: git-send-email 1.6.2.4 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.3 (demeter.kernel.org [140.211.167.41]); Thu, 06 May 2010 11:02:36 +0000 (UTC) diff --git a/arch/arm/plat-omap/gpio.c b/arch/arm/plat-omap/gpio.c index 7b2178c..0c84aae 100644 --- a/arch/arm/plat-omap/gpio.c +++ b/arch/arm/plat-omap/gpio.c @@ -2095,7 +2095,7 @@ static int omap_gpio_suspend(struct sys_device *dev, pm_message_t mesg) __raw_writel(bank->suspend_wakeup, wake_set); spin_unlock_irqrestore(&bank->lock, flags); -#ifdef CONFIG_ARCH_OMAP34XX +#ifdef CONFIG_ARCH_OMAP3 if (bank->method == METHOD_GPIO_24XX) { int j; for (j = 0; j < 32; j++) {