diff mbox

[89/92] clocksource/drivers/arm_global_timer: Add the COMPILE_TEST option

Message ID 1467111111-12587-14-git-send-email-daniel.lezcano@linaro.org
State Accepted
Commit 67a87a43b9117029446bea6397675bc6f7725a5a
Headers show

Commit Message

Daniel Lezcano June 28, 2016, 10:51 a.m. UTC
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 | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

-- 
1.9.1
diff mbox

Patch

diff --git a/drivers/clocksource/Kconfig b/drivers/clocksource/Kconfig
index 8055b37..1711079 100644
--- a/drivers/clocksource/Kconfig
+++ b/drivers/clocksource/Kconfig
@@ -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