From: Daniel Lezcano Date: Fri, 30 Oct 2015 16:58:47 +0000 (+0100) Subject: UPSTREAM: clocksource/drivers/rockchip: Add COMPILE_TEST option X-Git-Tag: firefly_0821_release~2702 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=c21cd84a43488cb1a8685b71763212990d4821bd;p=firefly-linux-kernel-4.4.55.git 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) --- 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