diff options
author | Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> | 2013-05-11 03:08:09 +0200 |
---|---|---|
committer | Jason Cooper <jason@lakedaemon.net> | 2013-05-29 19:21:20 +0000 |
commit | 9cbbc51551522efbc8313d45178a3415fd474eab (patch) | |
tree | 8bc506d82ceec2d0fa73c28b0f0d245408140030 /arch/arm/mach-mvebu/armada-370-xp.c | |
parent | ed9f30a273d3868737104d17234859ca02c857b7 (diff) | |
download | kernel-common-9cbbc51551522efbc8313d45178a3415fd474eab.tar.gz kernel-common-9cbbc51551522efbc8313d45178a3415fd474eab.tar.bz2 kernel-common-9cbbc51551522efbc8313d45178a3415fd474eab.zip |
ARM: mvebu: move DT boards to SoC-centric clock init
SoC centric clock init for Armada 370/XP can be used by calling of_clk_init.
Use it and get rid of mvebu_clocks_init.
Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Tested-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: Mike Turquette <mturquette@linaro.org>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Diffstat (limited to 'arch/arm/mach-mvebu/armada-370-xp.c')
-rw-r--r-- | arch/arm/mach-mvebu/armada-370-xp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-mvebu/armada-370-xp.c b/arch/arm/mach-mvebu/armada-370-xp.c index 42a4cb3087e2..1d018e420208 100644 --- a/arch/arm/mach-mvebu/armada-370-xp.c +++ b/arch/arm/mach-mvebu/armada-370-xp.c @@ -14,10 +14,10 @@ #include <linux/kernel.h> #include <linux/init.h> +#include <linux/clk-provider.h> #include <linux/of_platform.h> #include <linux/io.h> #include <linux/time-armada-370-xp.h> -#include <linux/clk/mvebu.h> #include <linux/dma-mapping.h> #include <linux/mbus.h> #include <linux/irqchip.h> @@ -45,7 +45,7 @@ void __init armada_370_xp_map_io(void) void __init armada_370_xp_timer_and_clk_init(void) { - mvebu_clocks_init(); + of_clk_init(NULL); armada_370_xp_timer_init(); } |