* Adrian Bunk <bunk@xxxxxxxxxx> [080829 02:24]: > This patch fixes the following compile error: > > <-- snip --> > > ... > CC arch/arm/plat-omap/gpio.o > ... > arch/arm/plat-omap/gpio.c: In function '_omap_gpio_init': > arch/arm/plat-omap/gpio.c:1492: error: 'omap_mpuio_device' undeclared (first use in this function) > arch/arm/plat-omap/gpio.c:1492: error: (Each undeclared identifier is reported only once > arch/arm/plat-omap/gpio.c:1492: error: for each function it appears in.) > make[2]: *** [arch/arm/plat-omap/gpio.o] Error 1 > > <-- snip --> > > Reported-by: Adrian Bunk <bunk@xxxxxxxxxx> > Signed-off-by: Adrian Bunk <bunk@xxxxxxxxxx> > > --- > > diff --git a/arch/arm/plat-omap/gpio.c b/arch/arm/plat-omap/gpio.c > index 3e76ee2..9e1341e 100644 > --- a/arch/arm/plat-omap/gpio.c > +++ b/arch/arm/plat-omap/gpio.c > @@ -1488,7 +1488,7 @@ static int __init _omap_gpio_init(void) > bank->chip.set = gpio_set; > if (bank_is_mpuio(bank)) { > bank->chip.label = "mpuio"; > -#ifdef CONFIG_ARCH_OMAP1 > +#ifdef CONFIG_ARCH_OMAP16XX > bank->chip.dev = &omap_mpuio_device.dev; > #endif > bank->chip.base = OMAP_MPUIO(0); > Looks like a proper fix. BTW, this same fix is already in a patch from Russell. 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