summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-mmp/mmp2.c
diff options
context:
space:
mode:
authorHaojian Zhuang <haojian.zhuang@marvell.com>2010-04-28 10:48:24 -0400
committerEric Miao <eric.y.miao@gmail.com>2010-05-11 17:25:04 +0200
commite598863690d956ad4e18904bb5b6c63fea1ad255 (patch)
treed20e1f8e5080194fdf594ead9521252fdb764a60 /arch/arm/mach-mmp/mmp2.c
parentf97cab28b1895ecb0aa317cc785bb209f57fc1e8 (diff)
downloadblackbird-op-linux-e598863690d956ad4e18904bb5b6c63fea1ad255.tar.gz
blackbird-op-linux-e598863690d956ad4e18904bb5b6c63fea1ad255.zip
[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>
Diffstat (limited to 'arch/arm/mach-mmp/mmp2.c')
-rw-r--r--arch/arm/mach-mmp/mmp2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-mmp/mmp2.c b/arch/arm/mach-mmp/mmp2.c
index 72eb9daeea99..cca39929110f 100644
--- a/arch/arm/mach-mmp/mmp2.c
+++ b/arch/arm/mach-mmp/mmp2.c
@@ -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;
OpenPOWER on IntegriCloud