diff options
author | Tony Lindgren <tony@atomide.com> | 2009-10-19 15:25:26 -0700 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2009-10-19 15:25:26 -0700 |
commit | e4e7a13af2007edf215ad1164fc8d94c366cb72c (patch) | |
tree | bbdfe804dd03cfd9f73e7069abf6b913ffa95669 /arch/arm/mach-omap2/timer-gp.c | |
parent | f059429ea055c71648ae81c581eaa91d3761942b (diff) | |
download | kernel-mfld-blackbay-e4e7a13af2007edf215ad1164fc8d94c366cb72c.tar.gz kernel-mfld-blackbay-e4e7a13af2007edf215ad1164fc8d94c366cb72c.tar.bz2 kernel-mfld-blackbay-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.c | 3 |
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 e2338c0aebc..cd729706b3a 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(); |