summaryrefslogtreecommitdiffstats
path: root/drivers/clocksource/Kconfig
diff options
context:
space:
mode:
authorDaniel Lezcano <daniel.lezcano@linaro.org>2016-06-06 19:08:39 +0200
committerDaniel Lezcano <daniel.lezcano@linaro.org>2016-06-28 10:22:17 +0200
commitb988d3f085f07deca70ba8b90f77a84af8a334a3 (patch)
tree0dac5c8bb74229471aadabc3a6e918c1c2df70b9 /drivers/clocksource/Kconfig
parent67a87a43b9117029446bea6397675bc6f7725a5a (diff)
downloadtalos-op-linux-b988d3f085f07deca70ba8b90f77a84af8a334a3.tar.gz
talos-op-linux-b988d3f085f07deca70ba8b90f77a84af8a334a3.zip
clocksource/drivers/timer-atmel-st: 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>
Diffstat (limited to 'drivers/clocksource/Kconfig')
-rw-r--r--drivers/clocksource/Kconfig5
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/clocksource/Kconfig b/drivers/clocksource/Kconfig
index 1711079c3cc0..3086e742b3ce 100644
--- a/drivers/clocksource/Kconfig
+++ b/drivers/clocksource/Kconfig
@@ -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
OpenPOWER on IntegriCloud