summaryrefslogtreecommitdiffstats
path: root/drivers/clocksource
diff options
context:
space:
mode:
authorDaniel Lezcano <daniel.lezcano@linaro.org>2015-10-09 15:48:38 +0200
committerDaniel Lezcano <daniel.lezcano@linaro.org>2015-12-15 09:41:17 +0100
commit389d9b5841b031103208f1836bcb49a0710531ed (patch)
treee85f99ac13f5d9f4eaeb6b21df6d466d28fc8aa9 /drivers/clocksource
parentclocksource/drivers/st_lpc: Add the COMPILE_TEST option (diff)
downloadlinux-389d9b5841b031103208f1836bcb49a0710531ed.tar.xz
linux-389d9b5841b031103208f1836bcb49a0710531ed.zip
clocksource/drivers/pxa_timer: Move the Kconfig rule
Instead of having the clocksource's Kconfig depending on the arch, let the arch to select the timer it needs. The CLKSRC_OF dependency is removed because already selected by the ARCH_PXA, and it is added for SA1100. Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Diffstat (limited to 'drivers/clocksource')
-rw-r--r--drivers/clocksource/Kconfig3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/clocksource/Kconfig b/drivers/clocksource/Kconfig
index 4117386d8051..d4221e04868d 100644
--- a/drivers/clocksource/Kconfig
+++ b/drivers/clocksource/Kconfig
@@ -307,8 +307,7 @@ config CLKSRC_TANGO_XTAL
select CLKSRC_OF
config CLKSRC_PXA
- def_bool y if ARCH_PXA || ARCH_SA1100
- select CLKSRC_OF if OF
+ bool
help
This enables OST0 support available on PXA and SA-11x0
platforms.