From ec8ea568eed20a52b3c101e31e9f09fe4612a603 Mon Sep 17 00:00:00 2001 From: Carlos Eduardo Aguiar Date: Tue, 15 Jan 2008 13:50:53 -0400 Subject: [PATCH] ARM: OMAP: Defines back the ifdef that fix compiling error in GPIO code. This patch defines back the ifdef that fix compiling error in GPIO code. Signed-off-by: Carlos Eduardo Aguiar Signed-off-by: Tony Lindgren --- arch/arm/plat-omap/gpio.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/plat-omap/gpio.c b/arch/arm/plat-omap/gpio.c index cb8abb2c66c..37eeabd0db5 100644 --- a/arch/arm/plat-omap/gpio.c +++ b/arch/arm/plat-omap/gpio.c @@ -1673,6 +1673,7 @@ static int __init omap_gpio_sysinit(void) mpuio_init(); +#if defined(CONFIG_ARCH_OMAP16XX) || defined(CONFIG_ARCH_OMAP24XX) || defined(CONFIG_ARCH_OMAP34XX) if (cpu_is_omap16xx() || cpu_class_is_omap2()) { if (ret == 0) { ret = sysdev_class_register(&omap_gpio_sysclass); @@ -1680,6 +1681,7 @@ static int __init omap_gpio_sysinit(void) ret = sysdev_register(&omap_gpio_device); } } +#endif return ret; } -- 2.41.1