summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Lezcano <daniel.lezcano@linaro.org>2015-10-09 15:33:06 +0200
committerDaniel Lezcano <daniel.lezcano@linaro.org>2015-12-15 09:41:14 +0100
commit2ffdf71b83bfe5df46f959029c3aad1fd5c298e6 (patch)
tree57546999a02a23f0dcd0f7c1750c33e0e717f7f8
parent3dc0e9f6fda39d1f9c893806bc971ec4ee4939fa (diff)
clocksource/drivers/st_lpc: Fix Kconfig dependency
Change the Kconfig selection rule by letting the STI arch to select the timer. Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org> Acked-by: Maxime Coquelin <maxime.coquelin@st.com>
-rw-r--r--arch/arm/mach-sti/Kconfig1
-rw-r--r--drivers/clocksource/Kconfig1
2 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-sti/Kconfig b/arch/arm/mach-sti/Kconfig
index 125865daaf17..12dd1dc0a041 100644
--- a/arch/arm/mach-sti/Kconfig
+++ b/arch/arm/mach-sti/Kconfig
@@ -3,6 +3,7 @@ menuconfig ARCH_STI
select ARM_GIC
select ST_IRQCHIP
select ARM_GLOBAL_TIMER
+ select CLKSRC_ST_LPC
select PINCTRL
select PINCTRL_ST
select MFD_SYSCON
diff --git a/drivers/clocksource/Kconfig b/drivers/clocksource/Kconfig
index b423785d6afc..3594a2b0b130 100644
--- a/drivers/clocksource/Kconfig
+++ b/drivers/clocksource/Kconfig
@@ -326,7 +326,6 @@ config CLKSRC_IMX_GPT
config CLKSRC_ST_LPC
bool
- depends on ARCH_STI
select CLKSRC_OF if OF
help
Enable this option to use the Low Power controller timer