Skip to content

Commit dfc82fa

Browse files
davidltDaniel Lezcano
authored andcommitted
clocksource/drivers/sp804: Add COMPILE_TEST to CONFIG_ARM_TIMER_SP804
This is only used on arm and arm64 platforms. Add COMPILE_TEST option. Tested with 5.1-rc3+ on Fedora/RISCV. CONFIG_ARM_TIMER_SP804 no more shows up in riscv config. Signed-off-by: David Abdurachmanov <david.abdurachmanov@gmail.com> Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
1 parent 0113ab8 commit dfc82fa

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎drivers/clocksource/Kconfig‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,7 @@ config ARM_GLOBAL_TIMER
379379
This options enables support for the ARM global timer unit
380380

381381
config ARM_TIMER_SP804
382-
bool "Support for Dual Timer SP804 module"
382+
bool "Support for Dual Timer SP804 module" if COMPILE_TEST
383383
depends on GENERIC_SCHED_CLOCK && CLKDEV_LOOKUP
384384
select CLKSRC_MMIO
385385
select TIMER_OF if OF

0 commit comments

Comments
 (0)