diff options
author | Haojian Zhuang <haojian.zhuang@gmail.com> | 2013-06-03 13:37:30 +0800 |
---|---|---|
committer | Haojian Zhuang <haojian.zhuang@gmail.com> | 2013-06-04 11:42:56 +0800 |
commit | d8df5a804cbbd16734ec0c921e23d8b5f886a75c (patch) | |
tree | 98eea5e99a6ff94d7d0533111c2eb70b9c429e47 /arch/arm/mach-mmp | |
parent | bee57c3a06cc66676d456e3e9e10d6e0d8778a33 (diff) |
clk: mmp: parse clock from dts
Parse clock information from DTS file for mach-mmp.
Signed-off-by: Haojian Zhuang <haojian.zhuang@gmail.com>
Diffstat (limited to 'arch/arm/mach-mmp')
-rw-r--r-- | arch/arm/mach-mmp/mmp-dt.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-mmp/mmp-dt.c b/arch/arm/mach-mmp/mmp-dt.c index cca529ceecb..f109bf6b568 100644 --- a/arch/arm/mach-mmp/mmp-dt.c +++ b/arch/arm/mach-mmp/mmp-dt.c @@ -9,6 +9,7 @@ * publishhed by the Free Software Foundation. */ +#include <linux/clk-provider.h> #include <linux/irqchip.h> #include <linux/of_platform.h> #include <asm/mach/arch.h> @@ -48,6 +49,7 @@ static void __init pxa168_dt_init(void) static void __init pxa910_dt_init(void) { + of_clk_init(NULL); of_platform_populate(NULL, of_default_bus_match_table, pxa910_auxdata_lookup, NULL); } |