Просмотр исходного кода

clocksource/drivers/qcom: Make COMPILE_TEST enabled for ARM architecture

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
architecture.

Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Daniel Lezcano 10 лет назад
Родитель
Сommit
3dc0e9f6fd
1 измененных файлов с 6 добавлено и 1 удалено
  1. 6 1
      drivers/clocksource/Kconfig

+ 6 - 1
drivers/clocksource/Kconfig

@@ -279,7 +279,12 @@ config EM_TIMER_STI
 	  such as EMEV2 from former NEC Electronics.
 
 config CLKSRC_QCOM
-	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.
 
 config CLKSRC_VERSATILE
 	bool "ARM Versatile (Express) reference platforms clock source"