aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Lezcano <daniel.lezcano@linaro.org>2016-06-06 08:34:28 -0400
committerDaniel Lezcano <daniel.lezcano@linaro.org>2016-06-28 04:22:16 -0400
commit67a87a43b9117029446bea6397675bc6f7725a5a (patch)
treefc9958fec388666f1c7bdef6055e92b5615a7169
parent568c0342e494fa4c05377c6c83c653afa350985a (diff)
clocksource/drivers/arm_global_timer: Add the COMPILE_TEST option
Change the Kconfig option logic to fullfil with the current approach, allowing the user to compile the driver on different platforms. Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
-rw-r--r--drivers/clocksource/Kconfig3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/clocksource/Kconfig b/drivers/clocksource/Kconfig
index 8055b37347ff..1711079c3cc0 100644
--- a/drivers/clocksource/Kconfig
+++ b/drivers/clocksource/Kconfig
@@ -304,8 +304,9 @@ config ARM_ARCH_TIMER_EVTSTREAM
304 hardware anomalies of missing events. 304 hardware anomalies of missing events.
305 305
306config ARM_GLOBAL_TIMER 306config ARM_GLOBAL_TIMER
307 bool 307 bool "Support for the ARM global timer" if COMPILE_TEST
308 select CLKSRC_OF if OF 308 select CLKSRC_OF if OF
309 depends on ARM
309 help 310 help
310 This options enables support for the ARM global timer unit 311 This options enables support for the ARM global timer unit
311 312