]> git.karo-electronics.de Git - linux-beck.git/commitdiff
clocksource/drivers/nomadik_mtu: Add the COMPILE_TEST option
authorDaniel Lezcano <daniel.lezcano@linaro.org>
Sun, 1 Nov 2015 20:11:28 +0000 (21:11 +0100)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Tue, 15 Dec 2015 08:41:49 +0000 (09:41 +0100)
Increase the compilation test coverage by adding the COMPILE_TEST option.

Due to the non portable code for the delay timer, this option is only
available for the ARM architecture.

Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
drivers/clocksource/Kconfig

index ed7a8249696a77067848d4d52f16a0e16883a7b7..847b3b1b70f4925b4e223392cf7eaceb0895f67c 100644 (file)
@@ -108,8 +108,8 @@ config ASM9260_TIMER
          Enables support for the ASM9260 timer.
 
 config CLKSRC_NOMADIK_MTU
-       bool
-       depends on (ARCH_NOMADIK || ARCH_U8500)
+       bool "Nomakdik clocksource driver" if COMPILE_TEST
+       depends on ARM
        select CLKSRC_MMIO
        help
          Support for Multi Timer Unit. MTU provides access