Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c3083411 authored by Tony Lindgren's avatar Tony Lindgren
Browse files

omap: Fix CONFIG_LOCAL_TIMERS initialization for multi-omap



Fix CONFIG_LOCAL_TIMERS initialization for multi-omap

Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
Acked-By: default avatarSantosh Shilimkar <santosh.shilimkar@ti.com>
parent 49553c2e
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -228,8 +228,10 @@ static void __init omap2_gp_clocksource_init(void)
static void __init omap2_gp_timer_init(void)
{
#ifdef CONFIG_LOCAL_TIMERS
	if (cpu_is_omap44xx()) {
		twd_base = ioremap(OMAP44XX_LOCAL_TWD_BASE, SZ_256);
		BUG_ON(!twd_base);
	}
#endif
	omap_dm_timer_init();