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

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

index b3ae9d38cbc0fa277f1d82177489f946627ce30e..6cba0a7068bcf9f713a1ca79a233211a928c771a 100644 (file)
@@ -14,6 +14,7 @@
 #include <linux/mtd/physmap.h>
 #include <linux/io.h>
 #include <linux/sh_eth.h>
+#include <linux/sh_intc.h>
 #include <asm/machvec.h>
 #include <asm/sizes.h>
 
@@ -71,7 +72,7 @@ static struct resource sh_eth_resources[] = {
                .flags  = IORESOURCE_MEM,
        }, {
 
-               .start  = 57,   /* irq number */
+               .start  = evt2irq(0x920),   /* irq number */
                .flags  = IORESOURCE_IRQ,
        },
 };