[PATCH 2/7] clocksource/drivers/qcom: Make COMPILE_TEST enabled for ARM architecture

From: Daniel Lezcano
Date: Thu Oct 29 2015 - 18:53:26 EST

In order to be consistent with the rest of the drivers compilation, let's
introduce the COMPILE_TEST option. Unfortunately, the delay.h code is not
portable, so the compilation test coverage will be restricted to the ARM

Signed-off-by: Daniel Lezcano <daniel.lezcano@xxxxxxxxxx>
drivers/clocksource/Kconfig | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/drivers/clocksource/Kconfig b/drivers/clocksource/Kconfig
index 50b68bc..d9e263c 100644
--- a/drivers/clocksource/Kconfig
+++ b/drivers/clocksource/Kconfig
@@ -261,7 +261,12 @@ config EM_TIMER_STI
such as EMEV2 from former NEC Electronics.

- bool
+ bool "Qualcomm MSM timer" if COMPILE_TEST
+ depends on ARM
+ select CLKSRC_OF
+ help
+ This enables the clocksource and the per CPU clockevent driver for the
+ Qualcomm SoCs.

bool "ARM Versatile (Express) reference platforms clock source"

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/