summaryrefslogtreecommitdiffstats
path: root/drivers/clocksource/Kconfig
diff options
context:
space:
mode:
authorDaniel Lezcano <daniel.lezcano@linaro.org>2015-10-31 17:01:46 +0100
committerDaniel Lezcano <daniel.lezcano@linaro.org>2015-12-15 09:41:37 +0100
commitf0c5afb787cfc800f7678f614d746b9bd2f18d01 (patch)
treed16a4f9daad68556b40a70fd807b81f024bf8c6f /drivers/clocksource/Kconfig
parentclocksource/drivers/sun4i: Add the COMPILE_TEST option (diff)
downloadlinux-f0c5afb787cfc800f7678f614d746b9bd2f18d01.tar.xz
linux-f0c5afb787cfc800f7678f614d746b9bd2f18d01.zip
clocksource/drivers/sun5i: 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>
Diffstat (limited to '')
-rw-r--r--drivers/clocksource/Kconfig5
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/clocksource/Kconfig b/drivers/clocksource/Kconfig
index 67be8f4057b4..625d45943ca1 100644
--- a/drivers/clocksource/Kconfig
+++ b/drivers/clocksource/Kconfig
@@ -77,8 +77,11 @@ config SUN4I_TIMER
Enables support for the Sun4i timer.
config SUN5I_HSTIMER
+ bool "Sun5i timer driver" if COMPILE_TEST
select CLKSRC_MMIO
- bool
+ depends on COMMON_CLK
+ help
+ Enables support the Sun5i timer.
config TEGRA_TIMER
bool