clocksource/drivers/st_lpc: Fix Kconfig dependency
authorDaniel Lezcano <daniel.lezcano@linaro.org>
Fri, 9 Oct 2015 13:33:06 +0000 (15:33 +0200)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Tue, 15 Dec 2015 08:41:14 +0000 (09:41 +0100)
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>
arch/arm/mach-sti/Kconfig
drivers/clocksource/Kconfig

index 125865daaf1719e931cb051b9039292799b8e930..12dd1dc0a04116e109f4a6a8754417fc668f7741 100644 (file)
@@ -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
index b423785d6afc175ffc353d88945e501be0fe3130..3594a2b0b130a3d86dabe137a4881d6ba8674cbc 100644 (file)
@@ -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