Commit 0b8214fe186746d32d8ca5522b736d5b59fd5d40
Committed by
Tony Lindgren
1 parent
d623a0e19d
Exists in
smarc-imx_3.14.28_1.0.0_ga
and in
1 other branch
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 <Simon.Pe.Barth@gmail.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
Showing 1 changed file with 2 additions and 2 deletions Side-by-side Diff
arch/arm/mach-omap2/timer.c
... | ... | @@ -628,7 +628,7 @@ |
628 | 628 | #endif /* CONFIG_HAVE_ARM_TWD */ |
629 | 629 | #endif /* CONFIG_ARCH_OMAP4 */ |
630 | 630 | |
631 | -#ifdef CONFIG_SOC_OMAP5 | |
631 | +#if defined(CONFIG_SOC_OMAP5) || defined(CONFIG_SOC_DRA7XX) | |
632 | 632 | void __init omap5_realtime_timer_init(void) |
633 | 633 | { |
634 | 634 | omap4_sync32k_timer_init(); |
... | ... | @@ -636,7 +636,7 @@ |
636 | 636 | |
637 | 637 | clocksource_of_init(); |
638 | 638 | } |
639 | -#endif /* CONFIG_SOC_OMAP5 */ | |
639 | +#endif /* CONFIG_SOC_OMAP5 || CONFIG_SOC_DRA7XX */ | |
640 | 640 | |
641 | 641 | /** |
642 | 642 | * omap_timer_init - build and register timer device with an |