summaryrefslogtreecommitdiffstats
path: root/drivers/clocksource/Kconfig
diff options
context:
space:
mode:
authorDaniel Lezcano <daniel.lezcano@linaro.org>2015-10-30 22:28:31 +0100
committerDaniel Lezcano <daniel.lezcano@linaro.org>2015-12-15 09:41:30 +0100
commitc916554971fdfda3d34259851684a76ece5f85d1 (patch)
tree99f804b9a2770bc5cd31e9739703b72ed4239970 /drivers/clocksource/Kconfig
parentclocksource/drivers/meson6: Add the COMPILE_TEST option (diff)
downloadlinux-c916554971fdfda3d34259851684a76ece5f85d1.tar.xz
linux-c916554971fdfda3d34259851684a76ece5f85d1.zip
clocksource/drivers/orion: Add the COMPILE_TEST option
Increase the compilation test coverage by adding the COMPILE_TEST option. The driver is using the atomic_io API which is not portable, so the compilation is restricted to ARM only. Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Diffstat (limited to 'drivers/clocksource/Kconfig')
-rw-r--r--drivers/clocksource/Kconfig5
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/clocksource/Kconfig b/drivers/clocksource/Kconfig
index f6e71b74405f..68a63b2447c5 100644
--- a/drivers/clocksource/Kconfig
+++ b/drivers/clocksource/Kconfig
@@ -59,9 +59,12 @@ config MESON6_TIMER
Enables the support for the Meson6 timer driver.
config ORION_TIMER
+ bool "Orion timer driver" if COMPILE_TEST
+ depends on ARM
select CLKSRC_OF
select CLKSRC_MMIO
- bool
+ help
+ Enables the support for the Orion timer driver
config SUN4I_TIMER
select CLKSRC_MMIO