From c21cd84a43488cb1a8685b71763212990d4821bd Mon Sep 17 00:00:00 2001 From: Daniel Lezcano Date: Fri, 30 Oct 2015 17:58:47 +0100 Subject: [PATCH] UPSTREAM: 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. Change-Id: I5f2c1a5353a7b20c80dcfc3cd3900510f56a0729 Signed-off-by: Daniel Lezcano Signed-off-by: Huang, Tao (cherry picked from commit 40ada2aac5e3a3c38f295d4e37b182fc4feff723) --- drivers/clocksource/Kconfig | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/clocksource/Kconfig b/drivers/clocksource/Kconfig index 2eb5f0efae90..9b7d1067b448 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 -- 2.34.1