* [PATCH] [ARM] mmp: update clock register function
@ 2010-04-28 14:48 Haojian Zhuang
0 siblings, 0 replies; only message in thread
From: Haojian Zhuang @ 2010-04-28 14:48 UTC (permalink / raw)
To: linux-arm-kernel
Use clk_add_table in order to sync with clock driver.
Signed-off-by: Haojian Zhuang <haojian.zhuang@marvell.com>
---
arch/arm/mach-mmp/mmp2.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/arm/mach-mmp/mmp2.c b/arch/arm/mach-mmp/mmp2.c
index 72eb9da..cca3992 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;
--
1.5.6.5
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2010-04-28 14:48 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-28 14:48 [PATCH] [ARM] mmp: update clock register function Haojian Zhuang
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).