clocksource/drivers/armada-370-xp: Add the COMPILE_TEST option
authorDaniel Lezcano <daniel.lezcano@linaro.org>
Fri, 30 Oct 2015 19:30:34 +0000 (20:30 +0100)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Tue, 15 Dec 2015 08:41:27 +0000 (09:41 +0100)
Increase the compilation test coverage by adding the COMPILE_TEST option.

Due to the non portable 'delay' code, the compilation is restricted to the
ARM architecture only.

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

index 0c06103..b6bb0a6 100644 (file)
@@ -46,8 +46,11 @@ config ROCKCHIP_TIMER
          Enables the support for the rockchip timer driver.
 
 config ARMADA_370_XP_TIMER
-       bool
+       bool "Armada 370 and XP timer driver" if COMPILE_TEST
+       depends on ARM
        select CLKSRC_OF
+       help
+         Enables the support for the Armada 370 and XP timer driver.
 
 config MESON6_TIMER
        bool