aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-davinci/da830.c
diff options
context:
space:
mode:
authorCyril Chemparathy <cyril@ti.com>2010-05-07 17:06:32 -0400
committerKevin Hilman <khilman@deeprootsystems.com>2010-05-13 13:05:22 -0400
commitb8d44293952e4b32b8595d924a377351f3cd1565 (patch)
tree9d5e44f154f18ce9a5496e9f9198fd03e57c8a73 /arch/arm/mach-davinci/da830.c
parenta6374f53405b719c767c6318fe052a6d8f32cd89 (diff)
Davinci: gpio - use ioremap()
This patch modifies the gpio_base definition in davinci_soc_info to be a physical address, which is then ioremap()ed by the gpio initialization function. Signed-off-by: Cyril Chemparathy <cyril@ti.com> Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
Diffstat (limited to 'arch/arm/mach-davinci/da830.c')
-rw-r--r--arch/arm/mach-davinci/da830.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-davinci/da830.c b/arch/arm/mach-davinci/da830.c
index 83879f894a21..4f5727f0dd11 100644
--- a/arch/arm/mach-davinci/da830.c
+++ b/arch/arm/mach-davinci/da830.c
@@ -1201,7 +1201,7 @@ static struct davinci_soc_info davinci_soc_info_da830 = {
1201 .intc_irq_num = DA830_N_CP_INTC_IRQ, 1201 .intc_irq_num = DA830_N_CP_INTC_IRQ,
1202 .timer_info = &da830_timer_info, 1202 .timer_info = &da830_timer_info,
1203 .gpio_type = GPIO_TYPE_DAVINCI, 1203 .gpio_type = GPIO_TYPE_DAVINCI,
1204 .gpio_base = IO_ADDRESS(DA8XX_GPIO_BASE), 1204 .gpio_base = DA8XX_GPIO_BASE,
1205 .gpio_num = 128, 1205 .gpio_num = 128,
1206 .gpio_irq = IRQ_DA8XX_GPIO0, 1206 .gpio_irq = IRQ_DA8XX_GPIO0,
1207 .serial_dev = &da8xx_serial_device, 1207 .serial_dev = &da8xx_serial_device,