clocksource/drivers/cadence_ttc: Add the COMPILE_TEST option
authorDaniel Lezcano <daniel.lezcano@linaro.org>
Sat, 31 Oct 2015 20:39:03 +0000 (21:39 +0100)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Tue, 15 Dec 2015 08:41:44 +0000 (09:41 +0100)
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>
drivers/clocksource/Kconfig

index c2b87b4..badef72 100644 (file)
@@ -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