ARM: Dove: Fixup ge00 initialisation
authorHannes Reinecke <hare@suse.de>
Tue, 12 Jun 2012 13:59:45 +0000 (15:59 +0200)
committerAndrew Lunn <andrew@lunn.ch>
Wed, 25 Jul 2012 15:05:55 +0000 (17:05 +0200)
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>
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
arch/arm/mach-dove/common.c

index 9493076..4db5de5 100644 (file)
@@ -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);
 }
 
 /*****************************************************************************