summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-sunxi/Kconfig
diff options
context:
space:
mode:
authorMaxime Ripard <maxime.ripard@free-electrons.com>2013-03-24 00:01:48 +0100
committerMaxime Ripard <maxime.ripard@free-electrons.com>2013-04-08 21:41:54 +0200
commitea71d9a600e769ca669f4ba3e25ffdecdeede240 (patch)
treebb5bb6a4a2695a86f90d942e36e25f3cac6b6a80 /arch/arm/mach-sunxi/Kconfig
parentclocksource: sunxi: Cleanup the timer code (diff)
downloadlinux-ea71d9a600e769ca669f4ba3e25ffdecdeede240.tar.xz
linux-ea71d9a600e769ca669f4ba3e25ffdecdeede240.zip
clocksource: sunxi: make use of CLKSRC_OF
Using CLKSRC_OF allows to remove the SoC specific sunxi_timer.h header, and instead of using a custom init function in the machine definition use the standard clocksource_of_init function. Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Diffstat (limited to 'arch/arm/mach-sunxi/Kconfig')
-rw-r--r--arch/arm/mach-sunxi/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-sunxi/Kconfig b/arch/arm/mach-sunxi/Kconfig
index 8709a39bd34c..06c28945357d 100644
--- a/arch/arm/mach-sunxi/Kconfig
+++ b/arch/arm/mach-sunxi/Kconfig
@@ -1,6 +1,7 @@
config ARCH_SUNXI
bool "Allwinner A1X SOCs" if ARCH_MULTI_V7
select CLKSRC_MMIO
+ select CLKSRC_OF
select COMMON_CLK
select GENERIC_CLOCKEVENTS
select GENERIC_IRQ_CHIP