Skip to content

Commit

Permalink
clocksource/drivers/arm_global_timer: Add the COMPILE_TEST option
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Daniel Lezcano committed Jun 28, 2016
1 parent 568c034 commit 67a87a4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/clocksource/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 67a87a4

Please sign in to comment.