Commit d5d7e783 authored by Paul Mundt's avatar Paul Mundt

sh: espt evt2irq migration.

Migrate espt to evt2irq() backed hwirq lookups.
Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
parent 03c5713c
...@@ -14,6 +14,7 @@ ...@@ -14,6 +14,7 @@
#include <linux/mtd/physmap.h> #include <linux/mtd/physmap.h>
#include <linux/io.h> #include <linux/io.h>
#include <linux/sh_eth.h> #include <linux/sh_eth.h>
#include <linux/sh_intc.h>
#include <asm/machvec.h> #include <asm/machvec.h>
#include <asm/sizes.h> #include <asm/sizes.h>
...@@ -71,7 +72,7 @@ static struct resource sh_eth_resources[] = { ...@@ -71,7 +72,7 @@ static struct resource sh_eth_resources[] = {
.flags = IORESOURCE_MEM, .flags = IORESOURCE_MEM,
}, { }, {
.start = 57, /* irq number */ .start = evt2irq(0x920), /* irq number */
.flags = IORESOURCE_IRQ, .flags = IORESOURCE_IRQ,
}, },
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment