Skip to content

Commit

Permalink
clocksource/drivers/timer-atmel-st: 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 67a87a4 commit b988d3f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion drivers/clocksource/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -335,9 +335,12 @@ config ATMEL_PIT
def_bool SOC_AT91SAM9 || SOC_SAMA5

config ATMEL_ST
bool
bool "Atmel ST timer support" if COMPILE_TEST
depends on GENERIC_CLOCKEVENTS
select CLKSRC_OF
select MFD_SYSCON
help
Support for the Atmel ST timer.

config CLKSRC_METAG_GENERIC
def_bool y if METAG
Expand Down

0 comments on commit b988d3f

Please sign in to comment.