* Carlos Aguiar <carlos.aguiar@xxxxxxxxxxx> [080115 09:54]: > From: Carlos Eduardo Aguiar <carlos.aguiar@xxxxxxxxxxx> > > This patch defines back the ifdef that fix compiling error in GPIO code. > > Signed-off-by: Carlos Eduardo Aguiar <carlos.aguiar@xxxxxxxxxxx> > --- > arch/arm/plat-omap/gpio.c | 2 ++ > 1 files changed, 2 insertions(+), 0 deletions(-) > > diff --git a/arch/arm/plat-omap/gpio.c b/arch/arm/plat-omap/gpio.c > index cb8abb2..37eeabd 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; > } Oops, thanks for fixing that. Pushing today. Tony - To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html