[PATCH 22/69] clocksource/drivers/sun4i: Add the COMPILE_TEST option

Daniel Lezcano
2015-12-18T14:37:54Z

Increase the compilation test coverage by adding the COMPILE_TEST option.

Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
---
drivers/clocksource/Kconfig | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/drivers/clocksource/Kconfig b/drivers/clocksource/Kconfig
index 24a8d8d..67be8f4 100644
--- a/drivers/clocksource/Kconfig
+++ b/drivers/clocksource/Kconfig
@@ -71,8 +71,10 @@ config ORION_TIMER
Enables the support for the Orion timer driver

config SUN4I_TIMER
+ bool "Sun4i timer driver" if COMPILE_TEST
select CLKSRC_MMIO
- bool
+ help
+ Enables support for the Sun4i timer.

config SUN5I_HSTIMER
select CLKSRC_MMIO
--
1.9.1