@@ -218,8 +218,12 @@ static int __init omap16xx_gpio_init(void)
if (!cpu_is_omap16xx())
return -EINVAL;
- for (i = 0; i < ARRAY_SIZE(omap16xx_gpio_dev); i++)
+ for (i = 0; i < ARRAY_SIZE(omap16xx_gpio_dev); i++) {
+ u32 base = 0; /* get base from device's struct resource */
+
+ __raw_writew(0x0014, base + OMAP1610_GPIO_SYSCONFIG);
platform_device_register(omap16xx_gpio_dev[i]);
+ }
gpio_bank_count = ARRAY_SIZE(omap16xx_gpio_dev);
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in