diff mbox

ARCH_OMAP34XX usage in gpio PM code

Message ID 4BE14EBB.3060205@ti.com (mailing list archive)
State RFC
Delegated to: Kevin Hilman
Headers show

Commit Message

Ranjith Lohithakshan May 5, 2010, 10:55 a.m. UTC
None
diff mbox

Patch

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;