summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-ux500
diff options
context:
space:
mode:
authorDaniel Lezcano <daniel.lezcano@linaro.org>2015-11-01 21:16:01 +0100
committerDaniel Lezcano <daniel.lezcano@linaro.org>2015-12-15 09:41:50 +0100
commit1becd6edea0c2849bc1a585d8c549d611517dd76 (patch)
treee73964518ac688ace6db8152238643195ad6dd19 /arch/arm/mach-ux500
parent703296530609ef37e22e715c9f5438d60a7ec11f (diff)
downloadop-kernel-dev-1becd6edea0c2849bc1a585d8c549d611517dd76.zip
op-kernel-dev-1becd6edea0c2849bc1a585d8c549d611517dd76.tar.gz
clocksource/drivers/prcmu: Fix Kconfig and add COMPILE_TEST option
Let the platform's Kconfig to select the clock instead of having a reverse dependency from the driver to the platform options. Add the COMPILE_TEST option for the compilation test coverage. This change is debatable as the option itself in the Kconfig allows to select the driver for the platform or not. This change will make the prcmu timer always selected. Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org> Acked-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'arch/arm/mach-ux500')
-rw-r--r--arch/arm/mach-ux500/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-ux500/Kconfig b/arch/arm/mach-ux500/Kconfig
index c9ac19b..5eacdd6 100644
--- a/arch/arm/mach-ux500/Kconfig
+++ b/arch/arm/mach-ux500/Kconfig
@@ -32,6 +32,7 @@ config UX500_SOC_DB8500
select PINCTRL_AB8540
select REGULATOR
select REGULATOR_DB8500_PRCMU
+ select CLKSRC_DBX500_PRCMU
select PM_GENERIC_DOMAINS if PM
config MACH_MOP500
OpenPOWER on IntegriCloud