diff options
author | Lothar Waßmann <LW@KARO-electronics.de> | 2013-07-31 10:07:59 -0400 |
---|---|---|
committer | Shawn Guo <shawn.guo@linaro.org> | 2013-08-16 03:46:11 -0400 |
commit | 5cd86ef5e4db02b791eee7f11fc9fb309194c4db (patch) | |
tree | 921a623d2097a86e244780ba503267941784ff4e | |
parent | ac33aa2dd49f7c892c9177ba600d14f7fced6d48 (diff) |
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>
-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 @@ | |||
14 | #include <linux/clk/mxs.h> | 14 | #include <linux/clk/mxs.h> |
15 | #include <linux/clkdev.h> | 15 | #include <linux/clkdev.h> |
16 | #include <linux/clocksource.h> | 16 | #include <linux/clocksource.h> |
17 | #include <linux/clk-provider.h> | ||
17 | #include <linux/delay.h> | 18 | #include <linux/delay.h> |
18 | #include <linux/err.h> | 19 | #include <linux/err.h> |
19 | #include <linux/gpio.h> | 20 | #include <linux/gpio.h> |
@@ -487,6 +488,7 @@ static void __init mxs_timer_init(void) | |||
487 | mx23_clocks_init(); | 488 | mx23_clocks_init(); |
488 | else | 489 | else |
489 | mx28_clocks_init(); | 490 | mx28_clocks_init(); |
491 | of_clk_init(NULL); | ||
490 | clocksource_of_init(); | 492 | clocksource_of_init(); |
491 | } | 493 | } |
492 | 494 | ||