summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2012-05-18 14:57:21 +0900
committerPaul Mundt <lethal@linux-sh.org>2012-05-18 14:57:21 +0900
commitd5d7e78368cb04b2ee3dc2c0e5f2ea97a345d4d6 (patch)
treeb3e2e09480209ea180b45d92204b7c11fb65ffb6
parent03c5713c96755c6ade73feb27558d214a3e0e546 (diff)
downloadblackbird-op-linux-d5d7e78368cb04b2ee3dc2c0e5f2ea97a345d4d6.tar.gz
blackbird-op-linux-d5d7e78368cb04b2ee3dc2c0e5f2ea97a345d4d6.zip
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.c3
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 @@
#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,
},
};
OpenPOWER on IntegriCloud