summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/timer-gp.c
diff options
context:
space:
mode:
authorTony Lindgren <tony@atomide.com>2009-10-19 15:25:26 -0700
committerTony Lindgren <tony@atomide.com>2009-10-19 15:25:26 -0700
commite4e7a13af2007edf215ad1164fc8d94c366cb72c (patch)
treebbdfe804dd03cfd9f73e7069abf6b913ffa95669 /arch/arm/mach-omap2/timer-gp.c
parentf059429ea055c71648ae81c581eaa91d3761942b (diff)
downloadtalos-obmc-linux-e4e7a13af2007edf215ad1164fc8d94c366cb72c.tar.gz
talos-obmc-linux-e4e7a13af2007edf215ad1164fc8d94c366cb72c.zip
omap: Use ioremap for omap4 L4 code
Use ioremap for omap4 L4 code Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2/timer-gp.c')
-rw-r--r--arch/arm/mach-omap2/timer-gp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/timer-gp.c b/arch/arm/mach-omap2/timer-gp.c
index e2338c0aebcf..cd729706b3a9 100644
--- a/arch/arm/mach-omap2/timer-gp.c
+++ b/arch/arm/mach-omap2/timer-gp.c
@@ -231,7 +231,8 @@ static void __init omap2_gp_clocksource_init(void)
static void __init omap2_gp_timer_init(void)
{
#ifdef CONFIG_LOCAL_TIMERS
- twd_base = OMAP2_IO_ADDRESS(OMAP44XX_LOCAL_TWD_BASE);
+ twd_base = ioremap(OMAP44XX_LOCAL_TWD_BASE, SZ_256);
+ BUG_ON(!twd_base);
#endif
omap_dm_timer_init();
OpenPOWER on IntegriCloud