summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-shmobile
diff options
context:
space:
mode:
authorKuninori Morimoto2010-09-15 08:38:07 +0200
committerPaul Mundt2010-09-16 10:22:01 +0200
commit5d8e3451d172441ac9f4aa1d0ff8706412bc7deb (patch)
tree2271f7453c1d3c26afb314a5e2ec98b9c4821127 /arch/arm/mach-shmobile
parentfbdev: sh_mobile_lcdc: reconfigure the framebuffer, when free (diff)
downloadkernel-qcow2-linux-5d8e3451d172441ac9f4aa1d0ff8706412bc7deb.tar.gz
kernel-qcow2-linux-5d8e3451d172441ac9f4aa1d0ff8706412bc7deb.tar.xz
kernel-qcow2-linux-5d8e3451d172441ac9f4aa1d0ff8706412bc7deb.zip
ARM: mach-shmobile: modify wrong array size of div6_reparent_clks
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>
Diffstat (limited to 'arch/arm/mach-shmobile')
-rw-r--r--arch/arm/mach-shmobile/clock-sh7372.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-shmobile/clock-sh7372.c b/arch/arm/mach-shmobile/clock-sh7372.c
index 759468992ad2..ea384e1a1e97 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);