Browse Source

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

+ 4 - 1
drivers/clocksource/Kconfig

@@ -59,9 +59,12 @@ config MESON6_TIMER
 	  Enables the support for the Meson6 timer driver.
 	  Enables the support for the Meson6 timer driver.
 
 
 config ORION_TIMER
 config ORION_TIMER
+	bool "Orion timer driver" if COMPILE_TEST
+	depends on ARM
 	select CLKSRC_OF
 	select CLKSRC_OF
 	select CLKSRC_MMIO
 	select CLKSRC_MMIO
-	bool
+	help
+	  Enables the support for the Orion timer driver
 
 
 config SUN4I_TIMER
 config SUN4I_TIMER
 	select CLKSRC_MMIO
 	select CLKSRC_MMIO