aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-davinci/dm646x.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/dm646x.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/dm646x.c')
-rw-r--r--arch/arm/mach-davinci/dm646x.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-davinci/dm646x.c b/arch/arm/mach-davinci/dm646x.c
index 8dd0afee7593..95fc981e45af 100644
--- a/arch/arm/mach-davinci/dm646x.c
+++ b/arch/arm/mach-davinci/dm646x.c
@@ -830,7 +830,7 @@ static struct davinci_soc_info davinci_soc_info_dm646x = {
830 .intc_irq_num = DAVINCI_N_AINTC_IRQ, 830 .intc_irq_num = DAVINCI_N_AINTC_IRQ,
831 .timer_info = &dm646x_timer_info, 831 .timer_info = &dm646x_timer_info,
832 .gpio_type = GPIO_TYPE_DAVINCI, 832 .gpio_type = GPIO_TYPE_DAVINCI,
833 .gpio_base = IO_ADDRESS(DAVINCI_GPIO_BASE), 833 .gpio_base = DAVINCI_GPIO_BASE,
834 .gpio_num = 43, /* Only 33 usable */ 834 .gpio_num = 43, /* Only 33 usable */
835 .gpio_irq = IRQ_DM646X_GPIOBNK0, 835 .gpio_irq = IRQ_DM646X_GPIOBNK0,
836 .serial_dev = &dm646x_serial_device, 836 .serial_dev = &dm646x_serial_device,