linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ARM: mxs: fix machines' initializers order
@ 2011-11-21  8:55 Lauri Hintsala
  2011-11-21  9:46 ` Russell King - ARM Linux
  2011-11-22  5:45 ` Shawn Guo
  0 siblings, 2 replies; 3+ messages in thread
From: Lauri Hintsala @ 2011-11-21  8:55 UTC (permalink / raw)
  To: linux-arm-kernel

Initializers of m28evk and stmp378x_devb fixed to be in order
they are called.

---
reference: http://article.gmane.org/gmane.linux.ports.arm.omap/50721

cc: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Lauri Hintsala <lauri.hintsala@bluegiga.com>
---
 arch/arm/mach-mxs/mach-m28evk.c        |    2 +-
 arch/arm/mach-mxs/mach-stmp378x_devb.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm/mach-mxs/mach-m28evk.c b/arch/arm/mach-mxs/mach-m28evk.c
index 3b1681e..6b00577 100644
--- a/arch/arm/mach-mxs/mach-m28evk.c
+++ b/arch/arm/mach-mxs/mach-m28evk.c
@@ -361,6 +361,6 @@ static struct sys_timer m28evk_timer = {
 MACHINE_START(M28EVK, "DENX M28 EVK")
 	.map_io		= mx28_map_io,
 	.init_irq	= mx28_init_irq,
-	.init_machine	= m28evk_init,
 	.timer		= &m28evk_timer,
+	.init_machine	= m28evk_init,
 MACHINE_END
diff --git a/arch/arm/mach-mxs/mach-stmp378x_devb.c b/arch/arm/mach-mxs/mach-stmp378x_devb.c
index 177e531..6834dea 100644
--- a/arch/arm/mach-mxs/mach-stmp378x_devb.c
+++ b/arch/arm/mach-mxs/mach-stmp378x_devb.c
@@ -115,6 +115,6 @@ static struct sys_timer stmp378x_dvb_timer = {
 MACHINE_START(STMP378X, "STMP378X")
 	.map_io		= mx23_map_io,
 	.init_irq	= mx23_init_irq,
-	.init_machine	= stmp378x_dvb_init,
 	.timer		= &stmp378x_dvb_timer,
+	.init_machine	= stmp378x_dvb_init,
 MACHINE_END
-- 
1.7.4.1

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

* [PATCH] ARM: mxs: fix machines' initializers order
  2011-11-21  8:55 [PATCH] ARM: mxs: fix machines' initializers order Lauri Hintsala
@ 2011-11-21  9:46 ` Russell King - ARM Linux
  2011-11-22  5:45 ` Shawn Guo
  1 sibling, 0 replies; 3+ messages in thread
From: Russell King - ARM Linux @ 2011-11-21  9:46 UTC (permalink / raw)
  To: linux-arm-kernel

On Mon, Nov 21, 2011 at 10:55:55AM +0200, Lauri Hintsala wrote:
> Initializers of m28evk and stmp378x_devb fixed to be in order
> they are called.
> 
> ---
> reference: http://article.gmane.org/gmane.linux.ports.arm.omap/50721
> 
> cc: Shawn Guo <shawn.guo@linaro.org>
> Signed-off-by: Lauri Hintsala <lauri.hintsala@bluegiga.com>

Acked-by: Russell King <rmk+kernel@arm.linux.org.uk>

> ---
>  arch/arm/mach-mxs/mach-m28evk.c        |    2 +-
>  arch/arm/mach-mxs/mach-stmp378x_devb.c |    2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/arch/arm/mach-mxs/mach-m28evk.c b/arch/arm/mach-mxs/mach-m28evk.c
> index 3b1681e..6b00577 100644
> --- a/arch/arm/mach-mxs/mach-m28evk.c
> +++ b/arch/arm/mach-mxs/mach-m28evk.c
> @@ -361,6 +361,6 @@ static struct sys_timer m28evk_timer = {
>  MACHINE_START(M28EVK, "DENX M28 EVK")
>  	.map_io		= mx28_map_io,
>  	.init_irq	= mx28_init_irq,
> -	.init_machine	= m28evk_init,
>  	.timer		= &m28evk_timer,
> +	.init_machine	= m28evk_init,
>  MACHINE_END
> diff --git a/arch/arm/mach-mxs/mach-stmp378x_devb.c b/arch/arm/mach-mxs/mach-stmp378x_devb.c
> index 177e531..6834dea 100644
> --- a/arch/arm/mach-mxs/mach-stmp378x_devb.c
> +++ b/arch/arm/mach-mxs/mach-stmp378x_devb.c
> @@ -115,6 +115,6 @@ static struct sys_timer stmp378x_dvb_timer = {
>  MACHINE_START(STMP378X, "STMP378X")
>  	.map_io		= mx23_map_io,
>  	.init_irq	= mx23_init_irq,
> -	.init_machine	= stmp378x_dvb_init,
>  	.timer		= &stmp378x_dvb_timer,
> +	.init_machine	= stmp378x_dvb_init,
>  MACHINE_END
> -- 
> 1.7.4.1
> 
> 
> _______________________________________________
> linux-arm-kernel mailing list
> linux-arm-kernel at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

* [PATCH] ARM: mxs: fix machines' initializers order
  2011-11-21  8:55 [PATCH] ARM: mxs: fix machines' initializers order Lauri Hintsala
  2011-11-21  9:46 ` Russell King - ARM Linux
@ 2011-11-22  5:45 ` Shawn Guo
  1 sibling, 0 replies; 3+ messages in thread
From: Shawn Guo @ 2011-11-22  5:45 UTC (permalink / raw)
  To: linux-arm-kernel

On Mon, Nov 21, 2011 at 10:55:55AM +0200, Lauri Hintsala wrote:
> Initializers of m28evk and stmp378x_devb fixed to be in order
> they are called.
> 
> ---

You may not want to put a '---' here, because all the texts after
that will get dropped when I run 'git am' to apply the patch.  I
have applied the patch with this fixed.  Thanks.

Regards,
Shawn

> reference: http://article.gmane.org/gmane.linux.ports.arm.omap/50721
> 
> cc: Shawn Guo <shawn.guo@linaro.org>
> Signed-off-by: Lauri Hintsala <lauri.hintsala@bluegiga.com>
> ---

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

end of thread, other threads:[~2011-11-22  5:45 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-21  8:55 [PATCH] ARM: mxs: fix machines' initializers order Lauri Hintsala
2011-11-21  9:46 ` Russell King - ARM Linux
2011-11-22  5:45 ` Shawn Guo

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).