summaryrefslogtreecommitdiff
path: root/drivers/clocksource
diff options
context:
space:
mode:
authorDaniel Lezcano <daniel.lezcano@linaro.org>2015-10-09 13:48:38 (GMT)
committerDaniel Lezcano <daniel.lezcano@linaro.org>2015-12-15 08:41:17 (GMT)
commit389d9b5841b031103208f1836bcb49a0710531ed (patch)
treee85f99ac13f5d9f4eaeb6b21df6d466d28fc8aa9 /drivers/clocksource
parentbaacaf8338516d107b568ae727a47855c7fe6b51 (diff)
downloadlinux-389d9b5841b031103208f1836bcb49a0710531ed.tar.xz
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 4117386..d4221e0 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.