diff options
author | Paul Mundt <lethal@linux-sh.org> | 2012-05-18 01:57:21 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2012-05-18 01:57:21 -0400 |
commit | d5d7e78368cb04b2ee3dc2c0e5f2ea97a345d4d6 (patch) | |
tree | b3e2e09480209ea180b45d92204b7c11fb65ffb6 | |
parent | 03c5713c96755c6ade73feb27558d214a3e0e546 (diff) |
sh: espt evt2irq migration.
Migrate espt to evt2irq() backed hwirq lookups.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
-rw-r--r-- | arch/sh/boards/board-espt.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/sh/boards/board-espt.c b/arch/sh/boards/board-espt.c index b3ae9d38cbc0..6cba0a7068bc 100644 --- a/arch/sh/boards/board-espt.c +++ b/arch/sh/boards/board-espt.c | |||
@@ -14,6 +14,7 @@ | |||
14 | #include <linux/mtd/physmap.h> | 14 | #include <linux/mtd/physmap.h> |
15 | #include <linux/io.h> | 15 | #include <linux/io.h> |
16 | #include <linux/sh_eth.h> | 16 | #include <linux/sh_eth.h> |
17 | #include <linux/sh_intc.h> | ||
17 | #include <asm/machvec.h> | 18 | #include <asm/machvec.h> |
18 | #include <asm/sizes.h> | 19 | #include <asm/sizes.h> |
19 | 20 | ||
@@ -71,7 +72,7 @@ static struct resource sh_eth_resources[] = { | |||
71 | .flags = IORESOURCE_MEM, | 72 | .flags = IORESOURCE_MEM, |
72 | }, { | 73 | }, { |
73 | 74 | ||
74 | .start = 57, /* irq number */ | 75 | .start = evt2irq(0x920), /* irq number */ |
75 | .flags = IORESOURCE_IRQ, | 76 | .flags = IORESOURCE_IRQ, |
76 | }, | 77 | }, |
77 | }; | 78 | }; |