summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Lezcano <daniel.lezcano@linaro.org>2015-10-31 23:39:03 +0300
committerDaniel Lezcano <daniel.lezcano@linaro.org>2015-12-15 11:41:44 +0300
commit57f49318f9b1a083bcada14505c4c5397b9dd8f2 (patch)
treedfdbff239c8582afc359eabef6c876b63ca69239
parentb4bdf7ef301655b85875c9cf04f93a54bd763f97 (diff)
downloadlinux-57f49318f9b1a083bcada14505c4c5397b9dd8f2.tar.xz
clocksource/drivers/cadence_ttc: Add the COMPILE_TEST option
Increase the compilation test coverage by adding the COMPILE_TEST option. The driver depends on the common clock framework, thus the dependency added on COMMON_CLK. Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
-rw-r--r--drivers/clocksource/Kconfig5
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/clocksource/Kconfig b/drivers/clocksource/Kconfig
index c2b87b4d002d..badef7286eb9 100644
--- a/drivers/clocksource/Kconfig
+++ b/drivers/clocksource/Kconfig
@@ -95,7 +95,10 @@ config VT8500_TIMER
Enables support for the VT8500 driver.
config CADENCE_TTC_TIMER
- bool
+ bool "Cadence TTC timer driver" if COMPILE_TEST
+ depends on COMMON_CLK
+ help
+ Enables support for the cadence ttc driver.
config ASM9260_TIMER
bool