linux-sh.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] ARM: mach-shmobile: modify wrong array size of
@ 2010-09-15  6:38 Kuninori Morimoto
  2010-09-15  8:21 ` [PATCH 1/2] ARM: mach-shmobile: modify wrong array size of div6_reparent_clks Magnus Damm
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Kuninori Morimoto @ 2010-09-15  6:38 UTC (permalink / raw)
  To: linux-sh

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
---
 arch/arm/mach-shmobile/clock-sh7372.c |    2 +-
 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 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);
-- 
1.7.0.4


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH 1/2] ARM: mach-shmobile: modify wrong array size of div6_reparent_clks
  2010-09-15  6:38 [PATCH 1/2] ARM: mach-shmobile: modify wrong array size of Kuninori Morimoto
@ 2010-09-15  8:21 ` Magnus Damm
  2010-09-15  8:39 ` [PATCH 1/2] ARM: mach-shmobile: modify wrong array size of Guennadi Liakhovetski
  2010-09-16  8:21 ` [PATCH 1/2] ARM: mach-shmobile: modify wrong array size of div6_reparent_clks Paul Mundt
  2 siblings, 0 replies; 4+ messages in thread
From: Magnus Damm @ 2010-09-15  8:21 UTC (permalink / raw)
  To: linux-sh

On Wed, Sep 15, 2010 at 3:38 PM, Kuninori Morimoto
<kuninori.morimoto.gx@renesas.com> wrote:
> Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
> ---
>  arch/arm/mach-shmobile/clock-sh7372.c |    2 +-
>  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 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);

Good catch, thanks!

/ magnus

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH 1/2] ARM: mach-shmobile: modify wrong array size of
  2010-09-15  6:38 [PATCH 1/2] ARM: mach-shmobile: modify wrong array size of Kuninori Morimoto
  2010-09-15  8:21 ` [PATCH 1/2] ARM: mach-shmobile: modify wrong array size of div6_reparent_clks Magnus Damm
@ 2010-09-15  8:39 ` Guennadi Liakhovetski
  2010-09-16  8:21 ` [PATCH 1/2] ARM: mach-shmobile: modify wrong array size of div6_reparent_clks Paul Mundt
  2 siblings, 0 replies; 4+ messages in thread
From: Guennadi Liakhovetski @ 2010-09-15  8:39 UTC (permalink / raw)
  To: linux-sh

On Wed, 15 Sep 2010, Kuninori Morimoto wrote:

> Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
> ---
>  arch/arm/mach-shmobile/clock-sh7372.c |    2 +-
>  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 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);

Oops, yeah, sorry

Reviewed-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>

>  
>  	if (!ret)
>  		ret = sh_clk_mstp32_register(mstp_clks, MSTP_NR);
> -- 
> 1.7.0.4

Thanks
Guennadi
---
Guennadi Liakhovetski, Ph.D.
Freelance Open-Source Software Developer
http://www.open-technology.de/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH 1/2] ARM: mach-shmobile: modify wrong array size of div6_reparent_clks
  2010-09-15  6:38 [PATCH 1/2] ARM: mach-shmobile: modify wrong array size of Kuninori Morimoto
  2010-09-15  8:21 ` [PATCH 1/2] ARM: mach-shmobile: modify wrong array size of div6_reparent_clks Magnus Damm
  2010-09-15  8:39 ` [PATCH 1/2] ARM: mach-shmobile: modify wrong array size of Guennadi Liakhovetski
@ 2010-09-16  8:21 ` Paul Mundt
  2 siblings, 0 replies; 4+ messages in thread
From: Paul Mundt @ 2010-09-16  8:21 UTC (permalink / raw)
  To: linux-sh

On Wed, Sep 15, 2010 at 03:38:07PM +0900, Kuninori Morimoto wrote:
> Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
> ---
>  arch/arm/mach-shmobile/clock-sh7372.c |    2 +-
>  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 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);

Applied, thanks.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-09-16  8:21 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-15  6:38 [PATCH 1/2] ARM: mach-shmobile: modify wrong array size of Kuninori Morimoto
2010-09-15  8:21 ` [PATCH 1/2] ARM: mach-shmobile: modify wrong array size of div6_reparent_clks Magnus Damm
2010-09-15  8:39 ` [PATCH 1/2] ARM: mach-shmobile: modify wrong array size of Guennadi Liakhovetski
2010-09-16  8:21 ` [PATCH 1/2] ARM: mach-shmobile: modify wrong array size of div6_reparent_clks Paul Mundt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).