]> git.karo-electronics.de Git - mv-sheeva.git/commitdiff
ARM: mach-shmobile: modify wrong array size of div6_reparent_clks
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Wed, 15 Sep 2010 06:38:07 +0000 (06:38 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Thu, 16 Sep 2010 08:22:01 +0000 (17:22 +0900)
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Reviewed-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/arm/mach-shmobile/clock-sh7372.c

index 759468992ad287ff3f40b2f2e92e19d99734c94a..ea384e1a1e97e01983d1d3faba9b9b64fac9b09d 100644 (file)
@@ -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);