Skip to content

Commit

Permalink
ARM: mxs: Allow DT clock providers
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Lothar Waßmann authored and Shawn Guo committed Aug 16, 2013
1 parent ac33aa2 commit 5cd86ef
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions arch/arm/mach-mxs/mach-mxs.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down Expand Up @@ -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();
}

Expand Down

0 comments on commit 5cd86ef

Please sign in to comment.