From: Daniel Lezcano Date: Fri, 30 Oct 2015 16:58:47 +0000 (+0100) Subject: clocksource/drivers/rockchip: Add COMPILE_TEST option X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=40ada2aac5e3a3c38f295d4e37b182fc4feff723;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git clocksource/drivers/rockchip: Add COMPILE_TEST option 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 --- diff --git a/drivers/clocksource/Kconfig b/drivers/clocksource/Kconfig index 3ba43f63e1a2..0c06103769a6 100644 --- a/drivers/clocksource/Kconfig +++ b/drivers/clocksource/Kconfig @@ -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