Browse Source

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>
Daniel Lezcano 10 years ago
parent
commit
57f49318f9
1 changed files with 4 additions and 1 deletions
  1. 4 1
      drivers/clocksource/Kconfig

+ 4 - 1
drivers/clocksource/Kconfig

@@ -95,7 +95,10 @@ config VT8500_TIMER
 	  Enables support for the VT8500 driver.
 	  Enables support for the VT8500 driver.
 
 
 config CADENCE_TTC_TIMER
 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
 config ASM9260_TIMER
 	bool
 	bool