diff options
-rw-r--r-- | arch/sh/boards/mach-sh7763rdp/setup.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/sh/boards/mach-sh7763rdp/setup.c b/arch/sh/boards/mach-sh7763rdp/setup.c index dd036f1661db..36e8b88cd04e 100644 --- a/arch/sh/boards/mach-sh7763rdp/setup.c +++ b/arch/sh/boards/mach-sh7763rdp/setup.c | |||
@@ -18,6 +18,7 @@ | |||
18 | #include <linux/fb.h> | 18 | #include <linux/fb.h> |
19 | #include <linux/io.h> | 19 | #include <linux/io.h> |
20 | #include <linux/sh_eth.h> | 20 | #include <linux/sh_eth.h> |
21 | #include <linux/sh_intc.h> | ||
21 | #include <mach/sh7763rdp.h> | 22 | #include <mach/sh7763rdp.h> |
22 | #include <asm/sh7760fb.h> | 23 | #include <asm/sh7760fb.h> |
23 | 24 | ||
@@ -67,7 +68,7 @@ static struct platform_device sh7763rdp_nor_flash_device = { | |||
67 | * SH-Ether | 68 | * SH-Ether |
68 | * | 69 | * |
69 | * SH Ether of SH7763 has multi IRQ handling. | 70 | * SH Ether of SH7763 has multi IRQ handling. |
70 | * (57,58,59 -> 57) | 71 | * (0x920,0x940,0x960 -> 0x920) |
71 | */ | 72 | */ |
72 | static struct resource sh_eth_resources[] = { | 73 | static struct resource sh_eth_resources[] = { |
73 | { | 74 | { |
@@ -79,7 +80,7 @@ static struct resource sh_eth_resources[] = { | |||
79 | .end = 0xFEE01FFF, | 80 | .end = 0xFEE01FFF, |
80 | .flags = IORESOURCE_MEM, | 81 | .flags = IORESOURCE_MEM, |
81 | }, { | 82 | }, { |
82 | .start = 57, /* irq number */ | 83 | .start = evt2irq(0x920), /* irq number */ |
83 | .flags = IORESOURCE_IRQ, | 84 | .flags = IORESOURCE_IRQ, |
84 | }, | 85 | }, |
85 | }; | 86 | }; |