From patchwork Wed May 5 10:55:55 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ranjith Lohithakshan X-Patchwork-Id: 97054 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 o45Aug06022873 for ; Wed, 5 May 2010 10:56:42 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760047Ab0EEK4G (ORCPT ); Wed, 5 May 2010 06:56:06 -0400 Received: from devils.ext.ti.com ([198.47.26.153]:56036 "EHLO devils.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752898Ab0EEK4E (ORCPT ); Wed, 5 May 2010 06:56:04 -0400 Received: from dbdp31.itg.ti.com ([172.24.170.98]) by devils.ext.ti.com (8.13.7/8.13.7) with ESMTP id o45Atw5B004315 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 5 May 2010 05:56:00 -0500 Received: from [172.24.133.64] (localhost [127.0.0.1]) by dbdp31.itg.ti.com (8.13.8/8.13.8) with ESMTP id o45Att3P029045; Wed, 5 May 2010 16:25:56 +0530 (IST) Message-ID: <4BE14EBB.3060205@ti.com> Date: Wed, 05 May 2010 16:25:55 +0530 From: Ranjith Lohithakshan Organization: Texas Instruments User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: "linux-omap@vger.kernel.org" , Kevin Hilman Subject: ARCH_OMAP34XX usage in gpio PM code 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]); Wed, 05 May 2010 10:56:46 +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_me __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;