clocksource/drivers/tegra2: Add the COMPILE_TEST option
authorDaniel Lezcano <daniel.lezcano@linaro.org>
Sat, 31 Oct 2015 19:13:09 +0000 (20:13 +0100)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Tue, 15 Dec 2015 08:41:39 +0000 (09:41 +0100)
Increase the compilation test coverage by adding the COMPILE_TEST option.

Due to the non portable code for the delay timer, this option is only
available for the ARM architecture.

Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
drivers/clocksource/Kconfig

index 625d459..e33ed76 100644 (file)
@@ -84,7 +84,10 @@ config SUN5I_HSTIMER
          Enables support the Sun5i timer.
 
 config TEGRA_TIMER
-       bool
+       bool "Tegra timer driver" if COMPILE_TEST
+       depends on ARM
+       help
+         Enables support for the Tegra driver.
 
 config VT8500_TIMER
        bool