Skip to content

Commit

Permalink
[ARM] mmp: update clock register function
Browse files Browse the repository at this point in the history
Use clk_add_table in order to sync with clock driver.

Signed-off-by: Haojian Zhuang <haojian.zhuang@marvell.com>
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
  • Loading branch information
Haojian Zhuang authored and Eric Miao committed May 11, 2010
1 parent f97cab2 commit e598863
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/arm/mach-mmp/mmp2.c
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ static int __init mmp2_init(void)
if (cpu_is_mmp2()) {
mfp_init_base(MFPR_VIRT_BASE);
mfp_init_addr(mmp2_addr_map);
clks_register(ARRAY_AND_SIZE(mmp2_clkregs));
clkdev_add_table(ARRAY_AND_SIZE(mmp2_clkregs));
}

return 0;
Expand Down

0 comments on commit e598863

Please sign in to comment.