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/include | |
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/include')
-rw-r--r-- | arch/arm/mach-davinci/include/mach/common.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-davinci/include/mach/common.h b/arch/arm/mach-davinci/include/mach/common.h index a58bd88ba02d..2dd2226507a7 100644 --- a/arch/arm/mach-davinci/include/mach/common.h +++ b/arch/arm/mach-davinci/include/mach/common.h | |||
@@ -60,7 +60,7 @@ struct davinci_soc_info { | |||
60 | unsigned long intc_irq_num; | 60 | unsigned long intc_irq_num; |
61 | struct davinci_timer_info *timer_info; | 61 | struct davinci_timer_info *timer_info; |
62 | int gpio_type; | 62 | int gpio_type; |
63 | void __iomem *gpio_base; | 63 | u32 gpio_base; |
64 | unsigned gpio_num; | 64 | unsigned gpio_num; |
65 | unsigned gpio_irq; | 65 | unsigned gpio_irq; |
66 | unsigned gpio_unbanked; | 66 | unsigned gpio_unbanked; |