提交 e5988636 编写于 作者: H Haojian Zhuang 提交者: Eric Miao

[ARM] mmp: update clock register function

Use clk_add_table in order to sync with clock driver.
Signed-off-by: NHaojian Zhuang <haojian.zhuang@marvell.com>
Signed-off-by: NEric Miao <eric.y.miao@gmail.com>
上级 f97cab28
...@@ -101,7 +101,7 @@ static int __init mmp2_init(void) ...@@ -101,7 +101,7 @@ static int __init mmp2_init(void)
if (cpu_is_mmp2()) { if (cpu_is_mmp2()) {
mfp_init_base(MFPR_VIRT_BASE); mfp_init_base(MFPR_VIRT_BASE);
mfp_init_addr(mmp2_addr_map); mfp_init_addr(mmp2_addr_map);
clks_register(ARRAY_AND_SIZE(mmp2_clkregs)); clkdev_add_table(ARRAY_AND_SIZE(mmp2_clkregs));
} }
return 0; return 0;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册