[ARM] mmp: update clock register function
authorHaojian Zhuang <haojian.zhuang@marvell.com>
Wed, 28 Apr 2010 14:48:24 +0000 (10:48 -0400)
committerEric Miao <eric.y.miao@gmail.com>
Tue, 11 May 2010 15:25:04 +0000 (17:25 +0200)
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>
arch/arm/mach-mmp/mmp2.c

index 72eb9da..cca3992 100644 (file)
@@ -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;