Commit 6b1ef625 authored by Paul Mundt's avatar Paul Mundt

sh: sh7763rdp evt2irq migration.

Migrate sh7763rdp to evt2irq backed hwirq lookups.
Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
parent d66bd5f1
...@@ -18,6 +18,7 @@ ...@@ -18,6 +18,7 @@
#include <linux/fb.h> #include <linux/fb.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 <mach/sh7763rdp.h> #include <mach/sh7763rdp.h>
#include <asm/sh7760fb.h> #include <asm/sh7760fb.h>
...@@ -67,7 +68,7 @@ static struct platform_device sh7763rdp_nor_flash_device = { ...@@ -67,7 +68,7 @@ static struct platform_device sh7763rdp_nor_flash_device = {
* SH-Ether * SH-Ether
* *
* SH Ether of SH7763 has multi IRQ handling. * SH Ether of SH7763 has multi IRQ handling.
* (57,58,59 -> 57) * (0x920,0x940,0x960 -> 0x920)
*/ */
static struct resource sh_eth_resources[] = { static struct resource sh_eth_resources[] = {
{ {
...@@ -79,7 +80,7 @@ static struct resource sh_eth_resources[] = { ...@@ -79,7 +80,7 @@ static struct resource sh_eth_resources[] = {
.end = 0xFEE01FFF, .end = 0xFEE01FFF,
.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