* [PATCH] ARM: mach-shmobile: fix sh7372 after a recent clock framework
@ 2010-11-02 11:28 Guennadi Liakhovetski
2010-11-02 15:53 ` [PATCH] ARM: mach-shmobile: fix sh7372 after a recent clock framework rework Paul Mundt
0 siblings, 1 reply; 2+ messages in thread
From: Guennadi Liakhovetski @ 2010-11-02 11:28 UTC (permalink / raw)
To: linux-sh
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>
---
arch/arm/mach-shmobile/clock-sh7372.c | 1 +
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 8565aef..7e6a671 100644
--- a/arch/arm/mach-shmobile/clock-sh7372.c
+++ b/arch/arm/mach-shmobile/clock-sh7372.c
@@ -288,6 +288,7 @@ struct clk sh7372_pllc2_clk = {
.ops = &pllc2_clk_ops,
.parent = &extal1_div2_clk,
.freq_table = pllc2_freq_table,
+ .nr_freqs = ARRAY_SIZE(pllc2_freq_table) - 1,
.parent_table = pllc2_parent,
.parent_num = ARRAY_SIZE(pllc2_parent),
};
--
1.7.2.3
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] ARM: mach-shmobile: fix sh7372 after a recent clock framework rework
2010-11-02 11:28 [PATCH] ARM: mach-shmobile: fix sh7372 after a recent clock framework Guennadi Liakhovetski
@ 2010-11-02 15:53 ` Paul Mundt
0 siblings, 0 replies; 2+ messages in thread
From: Paul Mundt @ 2010-11-02 15:53 UTC (permalink / raw)
To: linux-sh
On Tue, Nov 02, 2010 at 12:28:33PM +0100, Guennadi Liakhovetski wrote:
> 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>
Applied, thanks.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-11-02 15:53 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-02 11:28 [PATCH] ARM: mach-shmobile: fix sh7372 after a recent clock framework Guennadi Liakhovetski
2010-11-02 15:53 ` [PATCH] ARM: mach-shmobile: fix sh7372 after a recent clock framework rework Paul Mundt
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox