diff mbox

[1/2] ARM: mach-shmobile: modify wrong array size of div6_reparent_clks

Message ID w3peicvwlyp.wl%kuninori.morimoto.gx@renesas.com (mailing list archive)
State Accepted
Commit 5d8e3451d172441ac9f4aa1d0ff8706412bc7deb
Headers show

Commit Message

Kuninori Morimoto Sept. 15, 2010, 6:38 a.m. UTC
None
diff mbox

Patch

diff --git a/arch/arm/mach-shmobile/clock-sh7372.c b/arch/arm/mach-shmobile/clock-sh7372.c
index 7594689..ea384e1 100644
--- a/arch/arm/mach-shmobile/clock-sh7372.c
+++ b/arch/arm/mach-shmobile/clock-sh7372.c
@@ -548,7 +548,7 @@  void __init sh7372_clock_init(void)
 		ret = sh_clk_div6_register(div6_clks, DIV6_NR);
 
 	if (!ret)
-		ret = sh_clk_div6_reparent_register(div6_reparent_clks, DIV6_NR);
+		ret = sh_clk_div6_reparent_register(div6_reparent_clks, DIV6_REPARENT_NR);
 
 	if (!ret)
 		ret = sh_clk_mstp32_register(mstp_clks, MSTP_NR);