]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[ARM] omap: fix gpio.c build error
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Wed, 3 Sep 2008 09:15:26 +0000 (10:15 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 3 Sep 2008 09:15:26 +0000 (10:15 +0100)
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)

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/plat-omap/gpio.c

index 3e76ee2bc731dfd91d7e6fb00461a9a43e9b6c55..9e1341ebc14e8842646ae8a53fb2aa9307031b69 100644 (file)
@@ -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);