summaryrefslogtreecommitdiffstats
path: root/drivers/clocksource/Kconfig
diff options
context:
space:
mode:
authorDaniel Lezcano <daniel.lezcano@linaro.org>2015-10-30 17:58:47 +0100
committerDaniel Lezcano <daniel.lezcano@linaro.org>2015-12-15 09:41:25 +0100
commit40ada2aac5e3a3c38f295d4e37b182fc4feff723 (patch)
tree198b81a4ef2362ecab7ee0cdc2494620b4de2df9 /drivers/clocksource/Kconfig
parentclocksource/drivers/mediatek: Add the COMPILE_TEST option (diff)
downloadlinux-40ada2aac5e3a3c38f295d4e37b182fc4feff723.tar.xz
linux-40ada2aac5e3a3c38f295d4e37b182fc4feff723.zip
clocksource/drivers/rockchip: Add COMPILE_TEST option
Increase the compilation test coverage by adding the COMPILE_TEST option. Due to the dsb() usage in the driver, this driver is only compilable on ARM and ARM64. Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Diffstat (limited to '')
-rw-r--r--drivers/clocksource/Kconfig5
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/clocksource/Kconfig b/drivers/clocksource/Kconfig
index 3ba43f63e1a2..0c06103769a6 100644
--- a/drivers/clocksource/Kconfig
+++ b/drivers/clocksource/Kconfig
@@ -39,8 +39,11 @@ config DW_APB_TIMER_OF
select CLKSRC_OF
config ROCKCHIP_TIMER
- bool
+ bool "Rockchip timer driver" if COMPILE_TEST
+ depends on ARM || ARM64
select CLKSRC_OF
+ help
+ Enables the support for the rockchip timer driver.
config ARMADA_370_XP_TIMER
bool