clocksource/drivers/arm_global_timer: Add the COMPILE_TEST option
authorDaniel Lezcano <daniel.lezcano@linaro.org>
Mon, 6 Jun 2016 12:34:28 +0000 (14:34 +0200)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Tue, 28 Jun 2016 08:22:16 +0000 (10:22 +0200)
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>
drivers/clocksource/Kconfig

index 8055b37..1711079 100644 (file)
@@ -304,8 +304,9 @@ config ARM_ARCH_TIMER_EVTSTREAM
          hardware anomalies of missing events.
 
 config ARM_GLOBAL_TIMER
-       bool
+       bool "Support for the ARM global timer" if COMPILE_TEST
        select CLKSRC_OF if OF
+       depends on ARM
        help
          This options enables support for the ARM global timer unit