sh: edosk7705 evt2irq migration.
authorPaul Mundt <lethal@linux-sh.org>
Fri, 18 May 2012 05:48:53 +0000 (14:48 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Fri, 18 May 2012 05:48:53 +0000 (14:48 +0900)
Migrate edosk7705 to evt2irq() backed hwirq lookups.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/boards/board-edosk7705.c

index 541d8a2..0a531a1 100644 (file)
@@ -13,6 +13,7 @@
 #include <linux/platform_device.h>
 #include <linux/interrupt.h>
 #include <linux/smc91x.h>
+#include <linux/sh_intc.h>
 #include <asm/machvec.h>
 #include <asm/sizes.h>
 
@@ -20,7 +21,7 @@
 #define SMC_IO_OFFSET  0x300
 #define SMC_IOADDR     (SMC_IOBASE + SMC_IO_OFFSET)
 
-#define ETHERNET_IRQ   0x09
+#define ETHERNET_IRQ   evt2irq(0x320)
 
 static void __init sh_edosk7705_init_irq(void)
 {