summaryrefslogtreecommitdiffstats
path: root/drivers/clocksource
diff options
context:
space:
mode:
authorDaniel Lezcano <daniel.lezcano@linaro.org>2015-10-09 11:10:43 +0200
committerDaniel Lezcano <daniel.lezcano@linaro.org>2015-12-15 09:41:12 +0100
commit3dc0e9f6fda39d1f9c893806bc971ec4ee4939fa (patch)
treef1d3166ecb1bfc168d20a015ded71ed01c4d5034 /drivers/clocksource
parent23b8f81f3890edd06bcabdaac33ff5c087114c59 (diff)
downloadblackbird-op-linux-3dc0e9f6fda39d1f9c893806bc971ec4ee4939fa.tar.gz
blackbird-op-linux-3dc0e9f6fda39d1f9c893806bc971ec4ee4939fa.zip
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>
Diffstat (limited to 'drivers/clocksource')
-rw-r--r--drivers/clocksource/Kconfig7
1 files changed, 6 insertions, 1 deletions
diff --git a/drivers/clocksource/Kconfig b/drivers/clocksource/Kconfig
index 2eb5f0efae90..b423785d6afc 100644
--- a/drivers/clocksource/Kconfig
+++ b/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"
OpenPOWER on IntegriCloud