summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorDavid Abdurachmanov <david.abdurachmanov@gmail.com>2019-04-08 10:07:45 +0200
committerDaniel Lezcano <daniel.lezcano@linaro.org>2019-05-02 21:55:58 +0200
commitdfc82faad72520769ca146f857e65c23632eed5a (patch)
tree445cedc10d9d38785e59e4cb1ec8b454574c8463 /drivers
parent0113ab803a8aee00bc136507bcc9b16466f3c3aa (diff)
downloadlinux-stable-dfc82faad72520769ca146f857e65c23632eed5a.tar.gz
linux-stable-dfc82faad72520769ca146f857e65c23632eed5a.tar.bz2
linux-stable-dfc82faad72520769ca146f857e65c23632eed5a.zip
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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/clocksource/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clocksource/Kconfig b/drivers/clocksource/Kconfig
index 171502a356aa..ede5d20299b9 100644
--- a/drivers/clocksource/Kconfig
+++ b/drivers/clocksource/Kconfig
@@ -379,7 +379,7 @@ config ARM_GLOBAL_TIMER
This options enables support for the ARM global timer unit
config ARM_TIMER_SP804
- bool "Support for Dual Timer SP804 module"
+ bool "Support for Dual Timer SP804 module" if COMPILE_TEST
depends on GENERIC_SCHED_CLOCK && CLKDEV_LOOKUP
select CLKSRC_MMIO
select TIMER_OF if OF