Skip to content

Commit 0b8214f

Browse files
saimentmlind
authored andcommitted
ARM: mach-omap2: board-generic: fix undefined symbol
Since dra7 reuses the function 'omap5_realtime_timer_init' in arch/arm/mach-omap2/board-generic.c as timer init function, it has to be built for this SoC as well. Signed-off-by: Simon Barth <[email protected]> Signed-off-by: Tony Lindgren <[email protected]>
1 parent d623a0e commit 0b8214f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

arch/arm/mach-omap2/timer.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -628,15 +628,15 @@ void __init omap4_local_timer_init(void)
628628
#endif /* CONFIG_HAVE_ARM_TWD */
629629
#endif /* CONFIG_ARCH_OMAP4 */
630630

631-
#ifdef CONFIG_SOC_OMAP5
631+
#if defined(CONFIG_SOC_OMAP5) || defined(CONFIG_SOC_DRA7XX)
632632
void __init omap5_realtime_timer_init(void)
633633
{
634634
omap4_sync32k_timer_init();
635635
realtime_counter_init();
636636

637637
clocksource_of_init();
638638
}
639-
#endif /* CONFIG_SOC_OMAP5 */
639+
#endif /* CONFIG_SOC_OMAP5 || CONFIG_SOC_DRA7XX */
640640

641641
/**
642642
* omap_timer_init - build and register timer device with an

0 commit comments

Comments
 (0)