Skip to content

Commit eda9a4f

Browse files
keesdlezcano
authored andcommitted
clocksource/drivers/timer-ti-dm: Select TIMER_OF
When building OMAP_DM_TIMER without TIMER_OF, there are orphan sections due to the use of TIMER_OF_DELCARE() without CONFIG_TIMER_OF. Select CONFIG_TIMER_OF when enaling OMAP_DM_TIMER: arm-linux-gnueabi-ld: warning: orphan section `__timer_of_table' from `drivers/clocksource/timer-ti-dm-systimer.o' being placed in section `__timer_of_table' Reported-by: kernel test robot <[email protected]> Link: https://lore.kernel.org/lkml/[email protected]/ Cc: Tony Lindgren <[email protected]> Cc: Daniel Lezcano <[email protected]> Cc: Keerthy <[email protected]> Cc: Sebastian Reichel <[email protected]> Cc: Ladislav Michl <[email protected]> Cc: Grygorii Strashko <[email protected]> Cc: [email protected] Fixes: 52762fb ("clocksource/drivers/timer-ti-dm: Add clockevent and clocksource support") Signed-off-by: Kees Cook <[email protected]> Acked-by: Tony Lindgren <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Daniel Lezcano <[email protected]>
1 parent 8602a80 commit eda9a4f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/clocksource/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ config I8253_LOCK
2424

2525
config OMAP_DM_TIMER
2626
bool
27+
select TIMER_OF
2728

2829
config CLKBLD_I8253
2930
def_bool y if CLKSRC_I8253 || CLKEVT_I8253 || I8253_LOCK

0 commit comments

Comments
 (0)