]> git.karo-electronics.de Git - linux-beck.git/commitdiff
clocksource/drivers/rockchip: Add COMPILE_TEST option
authorDaniel Lezcano <daniel.lezcano@linaro.org>
Fri, 30 Oct 2015 16:58:47 +0000 (17:58 +0100)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Tue, 15 Dec 2015 08:41:25 +0000 (09:41 +0100)
Increase the compilation test coverage by adding the COMPILE_TEST option.

Due to the dsb() usage in the driver, this driver is only compilable on
ARM and ARM64.

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

index 3ba43f63e1a29a31962fddee2ed58d3a012e7eec..0c06103769a665b8ae5e1a48e2f17e41854bbaa9 100644 (file)
@@ -39,8 +39,11 @@ config DW_APB_TIMER_OF
        select CLKSRC_OF
 
 config ROCKCHIP_TIMER
-       bool
+       bool "Rockchip timer driver" if COMPILE_TEST
+       depends on ARM || ARM64
        select CLKSRC_OF
+       help
+         Enables the support for the rockchip timer driver.
 
 config ARMADA_370_XP_TIMER
        bool