diff options
author | Lothar Waßmann <LW@KARO-electronics.de> | 2013-07-31 16:07:59 +0200 |
---|---|---|
committer | Shawn Guo <shawn.guo@linaro.org> | 2013-08-16 09:46:11 +0200 |
commit | 5cd86ef5e4db02b791eee7f11fc9fb309194c4db (patch) | |
tree | 921a623d2097a86e244780ba503267941784ff4e /arch/arm/mach-mxs/mach-mxs.c | |
parent | ARM: mxs_defconfig: Cleanup mxs_defconfig (diff) | |
download | linux-5cd86ef5e4db02b791eee7f11fc9fb309194c4db.tar.xz linux-5cd86ef5e4db02b791eee7f11fc9fb309194c4db.zip |
ARM: mxs: Allow DT clock providers
Add a call to of_clk_init() to register clocks defined in DT.
Signed-off-by: Lothar Waßmann <LW@KARO-electronics.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Diffstat (limited to 'arch/arm/mach-mxs/mach-mxs.c')
-rw-r--r-- | arch/arm/mach-mxs/mach-mxs.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-mxs/mach-mxs.c b/arch/arm/mach-mxs/mach-mxs.c index 4ce27b536dc9..4b210f278d47 100644 --- a/arch/arm/mach-mxs/mach-mxs.c +++ b/arch/arm/mach-mxs/mach-mxs.c @@ -14,6 +14,7 @@ #include <linux/clk/mxs.h> #include <linux/clkdev.h> #include <linux/clocksource.h> +#include <linux/clk-provider.h> #include <linux/delay.h> #include <linux/err.h> #include <linux/gpio.h> @@ -487,6 +488,7 @@ static void __init mxs_timer_init(void) mx23_clocks_init(); else mx28_clocks_init(); + of_clk_init(NULL); clocksource_of_init(); } |