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>
This commit is contained in:
Daniel Lezcano 2016-06-06 14:34:28 +02:00
parent 568c0342e4
commit 67a87a43b9
1 changed files with 2 additions and 1 deletions

View File

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