linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] mach-dove: Fixup ge00 initialisation
@ 2012-06-12 13:59 Hannes Reinecke
  2012-06-13 10:32 ` Andrew Lunn
  0 siblings, 1 reply; 2+ messages in thread
From: Hannes Reinecke @ 2012-06-12 13:59 UTC (permalink / raw)
  To: linux-arm-kernel

The last argument of orion_ge00_init() is actually the error
interrupt, so we should be using the correct value here.

Signed-off-by: Hannes Reinecke <hare@suse.de>
---
 arch/arm/mach-dove/common.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm/mach-dove/common.c b/arch/arm/mach-dove/common.c
index f7d639b..a9d0708 100644
--- a/arch/arm/mach-dove/common.c
+++ b/arch/arm/mach-dove/common.c
@@ -101,8 +101,8 @@ void __init dove_ehci1_init(void)
  ****************************************************************************/
 void __init dove_ge00_init(struct mv643xx_eth_platform_data *eth_data)
 {
-	orion_ge00_init(eth_data,
-			DOVE_GE00_PHYS_BASE, IRQ_DOVE_GE00_SUM, 0);
+	orion_ge00_init(eth_data, DOVE_GE00_PHYS_BASE,
+			IRQ_DOVE_GE00_SUM, IRQ_DOVE_GE00_ERR);
 }
 
 /*****************************************************************************
-- 
1.7.4.2

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

* [PATCH] mach-dove: Fixup ge00 initialisation
  2012-06-12 13:59 [PATCH] mach-dove: Fixup ge00 initialisation Hannes Reinecke
@ 2012-06-13 10:32 ` Andrew Lunn
  0 siblings, 0 replies; 2+ messages in thread
From: Andrew Lunn @ 2012-06-13 10:32 UTC (permalink / raw)
  To: linux-arm-kernel

On Tue, Jun 12, 2012 at 03:59:45PM +0200, Hannes Reinecke wrote:
> The last argument of orion_ge00_init() is actually the error
> interrupt, so we should be using the correct value here.
> 
> Signed-off-by: Hannes Reinecke <hare@suse.de>
> ---
>  arch/arm/mach-dove/common.c |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/arch/arm/mach-dove/common.c b/arch/arm/mach-dove/common.c
> index f7d639b..a9d0708 100644
> --- a/arch/arm/mach-dove/common.c
> +++ b/arch/arm/mach-dove/common.c
> @@ -101,8 +101,8 @@ void __init dove_ehci1_init(void)
>   ****************************************************************************/
>  void __init dove_ge00_init(struct mv643xx_eth_platform_data *eth_data)
>  {
> -	orion_ge00_init(eth_data,
> -			DOVE_GE00_PHYS_BASE, IRQ_DOVE_GE00_SUM, 0);
> +	orion_ge00_init(eth_data, DOVE_GE00_PHYS_BASE,
> +			IRQ_DOVE_GE00_SUM, IRQ_DOVE_GE00_ERR);
>  }
>  
>  /***************************************************************************

Acked-by: Andrew Lunn <andrew@lunn.ch>

	  Andrew

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

end of thread, other threads:[~2012-06-13 10:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-12 13:59 [PATCH] mach-dove: Fixup ge00 initialisation Hannes Reinecke
2012-06-13 10:32 ` Andrew Lunn

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