diff options
author | Cyril Chemparathy <cyril@ti.com> | 2010-05-07 17:06:32 -0400 |
---|---|---|
committer | Kevin Hilman <khilman@deeprootsystems.com> | 2010-05-13 13:05:22 -0400 |
commit | b8d44293952e4b32b8595d924a377351f3cd1565 (patch) | |
tree | 9d5e44f154f18ce9a5496e9f9198fd03e57c8a73 /arch/arm/mach-davinci/dm365.c | |
parent | a6374f53405b719c767c6318fe052a6d8f32cd89 (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/dm365.c')
-rw-r--r-- | arch/arm/mach-davinci/dm365.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-davinci/dm365.c b/arch/arm/mach-davinci/dm365.c index ed7645088052..ecdbc676b4dd 100644 --- a/arch/arm/mach-davinci/dm365.c +++ b/arch/arm/mach-davinci/dm365.c | |||
@@ -1060,7 +1060,7 @@ static struct davinci_soc_info davinci_soc_info_dm365 = { | |||
1060 | .intc_irq_num = DAVINCI_N_AINTC_IRQ, | 1060 | .intc_irq_num = DAVINCI_N_AINTC_IRQ, |
1061 | .timer_info = &dm365_timer_info, | 1061 | .timer_info = &dm365_timer_info, |
1062 | .gpio_type = GPIO_TYPE_DAVINCI, | 1062 | .gpio_type = GPIO_TYPE_DAVINCI, |
1063 | .gpio_base = IO_ADDRESS(DAVINCI_GPIO_BASE), | 1063 | .gpio_base = DAVINCI_GPIO_BASE, |
1064 | .gpio_num = 104, | 1064 | .gpio_num = 104, |
1065 | .gpio_irq = IRQ_DM365_GPIO0, | 1065 | .gpio_irq = IRQ_DM365_GPIO0, |
1066 | .gpio_unbanked = 8, /* really 16 ... skip muxed GPIOs */ | 1066 | .gpio_unbanked = 8, /* really 16 ... skip muxed GPIOs */ |