Skip to contentSkip to conversation

mmp: update clock register function

PATCH New Haojian Zhuang 1 participant 1 message Apr 28, 2010

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mmp: update clock register function

Use clk_add_table in order to sync with clock driver.

---
 arch/arm/mach-mmp/mmp2.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
arch/arm/mach-mmp/mmp2.c +1 -1
index 72eb9da..cca3992 100644
@@ -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;
Signature · 1 line
1.5.6.5