[ARM] mmp: update clock register function

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>
This commit is contained in:
Haojian Zhuang 2010-04-28 10:48:24 -04:00 committed by Eric Miao
parent f97cab28b1
commit e598863690
1 changed files with 1 additions and 1 deletions

View File

@ -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;