summaryrefslogtreecommitdiff
path: root/arch/arm/mach-dove/board-dt.c
diff options
context:
space:
mode:
authorSebastian Hesselbarth <sebastian.hesselbarth@gmail.com>2013-05-11 05:08:07 +0400
committerJason Cooper <jason@lakedaemon.net>2013-05-29 23:21:05 +0400
commit367dc18dbae2d94e6486af3edc268443d716cb34 (patch)
tree3417dae29f69f3e47ec8c4daa8218258c5d6593d /arch/arm/mach-dove/board-dt.c
parent68be12bda2cbb8317c76d4a94d5bbb8f88d48ce3 (diff)
downloadlinux-367dc18dbae2d94e6486af3edc268443d716cb34.tar.xz
ARM: dove: move DT boards to SoC-centric clock init
SoC centric clock init for Dove 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-dove/board-dt.c')
-rw-r--r--arch/arm/mach-dove/board-dt.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/arm/mach-dove/board-dt.c b/arch/arm/mach-dove/board-dt.c
index 0b142803b2e1..f3755ac81148 100644
--- a/arch/arm/mach-dove/board-dt.c
+++ b/arch/arm/mach-dove/board-dt.c
@@ -10,7 +10,6 @@
#include <linux/init.h>
#include <linux/clk-provider.h>
-#include <linux/clk/mvebu.h>
#include <linux/of.h>
#include <linux/of_platform.h>
#include <linux/platform_data/usb-ehci-orion.h>
@@ -49,7 +48,7 @@ static void __init dove_legacy_clk_init(void)
static void __init dove_of_clk_init(void)
{
- mvebu_clocks_init();
+ of_clk_init(NULL);
dove_legacy_clk_init();
}