summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Lezcano <daniel.lezcano@linaro.org>2015-10-31 20:13:09 +0100
committerDaniel Lezcano <daniel.lezcano@linaro.org>2015-12-15 09:41:39 +0100
commitadce4bc8311f43dd0c2207eae841f925f3a6fcf2 (patch)
tree14b8dbe259b889ffa2fccc5c7773edcb9682b088
parentf0c5afb787cfc800f7678f614d746b9bd2f18d01 (diff)
downloadlinux-stable-adce4bc8311f43dd0c2207eae841f925f3a6fcf2.tar.gz
linux-stable-adce4bc8311f43dd0c2207eae841f925f3a6fcf2.tar.bz2
linux-stable-adce4bc8311f43dd0c2207eae841f925f3a6fcf2.zip
clocksource/drivers/tegra2: Add the COMPILE_TEST option
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>
-rw-r--r--drivers/clocksource/Kconfig5
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/clocksource/Kconfig b/drivers/clocksource/Kconfig
index 625d45943ca1..e33ed768992e 100644
--- a/drivers/clocksource/Kconfig
+++ b/drivers/clocksource/Kconfig
@@ -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