projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
67a87a4
)
clocksource/drivers/timer-atmel-st: Add the COMPILE_TEST option
author
Daniel Lezcano
<daniel.lezcano@linaro.org>
Mon, 6 Jun 2016 17:08:39 +0000
(19:08 +0200)
committer
Daniel Lezcano
<daniel.lezcano@linaro.org>
Tue, 28 Jun 2016 08:22:17 +0000
(10:22 +0200)
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
patch
|
blob
|
history
diff --git
a/drivers/clocksource/Kconfig
b/drivers/clocksource/Kconfig
index 1711079c3cc08688628d4a3c23b01a62a4aaabfd..3086e742b3ce9d2cac238ad5a004c4e428f8c845 100644
(file)
--- 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