gpio/omap: fix bankwidth for OMAP7xx MPUIO

In all OMAP1 SoCs, the MPUIO bank width is 16 bits. But, in OMAP7xx,
it is wrongly initialised to 32. Fix this.

Signed-off-by: Charulatha V <charu@ti.com>
Reviewed-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Acked-by: Tony Lindgren <tony@atomide.com>
Reviewed-by: Kevin Hilman <khilman@ti.com>
Signed-off-by: Kevin Hilman <khilman@ti.com>
This commit is contained in:
Charulatha V 2011-05-25 12:44:28 +05:30 committed by Tarun Kanti DebBarma
parent d0d665a896
commit ec9af5d9f9

View File

@ -52,8 +52,8 @@ static struct omap_gpio_reg_offs omap7xx_mpuio_regs = {
static struct __initdata omap_gpio_platform_data omap7xx_mpu_gpio_config = { static struct __initdata omap_gpio_platform_data omap7xx_mpu_gpio_config = {
.virtual_irq_start = IH_MPUIO_BASE, .virtual_irq_start = IH_MPUIO_BASE,
.bank_width = 32,
.is_mpuio = true, .is_mpuio = true,
.bank_width = 16,
.bank_stride = 2, .bank_stride = 2,
.regs = &omap7xx_mpuio_regs, .regs = &omap7xx_mpuio_regs,
}; };