aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>2010-11-02 07:28:33 -0400
committerPaul Mundt <lethal@linux-sh.org>2010-11-02 11:52:37 -0400
commit5c4e0f198d670338daf296e95b7536fdb3489590 (patch)
treef4d3de3f1a515ebcc0938f3a2750009360167fb1
parentbe8cb585d22013d87b1a123cf3bc93b474050c35 (diff)
ARM: mach-shmobile: fix sh7372 after a recent clock framework rework
The updated sh clock framework has introduced a .nr_freqs element of struct clk, which has to be initialised with the number of possible frequencies. Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
-rw-r--r--arch/arm/mach-shmobile/clock-sh7372.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-shmobile/clock-sh7372.c b/arch/arm/mach-shmobile/clock-sh7372.c
index fe7fa1550d36..7db31e6c6bf2 100644
--- a/arch/arm/mach-shmobile/clock-sh7372.c
+++ b/arch/arm/mach-shmobile/clock-sh7372.c
@@ -291,6 +291,7 @@ struct clk sh7372_pllc2_clk = {
291 .ops = &pllc2_clk_ops, 291 .ops = &pllc2_clk_ops,
292 .parent = &extal1_div2_clk, 292 .parent = &extal1_div2_clk,
293 .freq_table = pllc2_freq_table, 293 .freq_table = pllc2_freq_table,
294 .nr_freqs = ARRAY_SIZE(pllc2_freq_table) - 1,
294 .parent_table = pllc2_parent, 295 .parent_table = pllc2_parent,
295 .parent_num = ARRAY_SIZE(pllc2_parent), 296 .parent_num = ARRAY_SIZE(pllc2_parent),
296}; 297};