aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/boards/mach-sh7763rdp/setup.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sh/boards/mach-sh7763rdp/setup.c')
-rw-r--r--arch/sh/boards/mach-sh7763rdp/setup.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/sh/boards/mach-sh7763rdp/setup.c b/arch/sh/boards/mach-sh7763rdp/setup.c
index b7c75298dfb..f3d828f133e 100644
--- a/arch/sh/boards/mach-sh7763rdp/setup.c
+++ b/arch/sh/boards/mach-sh7763rdp/setup.c
@@ -17,9 +17,8 @@
17#include <linux/mtd/physmap.h> 17#include <linux/mtd/physmap.h>
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>
21#include <linux/sh_intc.h>
22#include <mach/sh7763rdp.h> 20#include <mach/sh7763rdp.h>
21#include <asm/sh_eth.h>
23#include <asm/sh7760fb.h> 22#include <asm/sh7760fb.h>
24 23
25/* NOR Flash */ 24/* NOR Flash */
@@ -68,7 +67,7 @@ static struct platform_device sh7763rdp_nor_flash_device = {
68 * SH-Ether 67 * SH-Ether
69 * 68 *
70 * SH Ether of SH7763 has multi IRQ handling. 69 * SH Ether of SH7763 has multi IRQ handling.
71 * (0x920,0x940,0x960 -> 0x920) 70 * (57,58,59 -> 57)
72 */ 71 */
73static struct resource sh_eth_resources[] = { 72static struct resource sh_eth_resources[] = {
74 { 73 {
@@ -80,7 +79,7 @@ static struct resource sh_eth_resources[] = {
80 .end = 0xFEE01FFF, 79 .end = 0xFEE01FFF,
81 .flags = IORESOURCE_MEM, 80 .flags = IORESOURCE_MEM,
82 }, { 81 }, {
83 .start = evt2irq(0x920), /* irq number */ 82 .start = 57, /* irq number */
84 .flags = IORESOURCE_IRQ, 83 .flags = IORESOURCE_IRQ,
85 }, 84 },
86}; 85};
@@ -214,5 +213,6 @@ static void __init sh7763rdp_setup(char **cmdline_p)
214static struct sh_machine_vector mv_sh7763rdp __initmv = { 213static struct sh_machine_vector mv_sh7763rdp __initmv = {
215 .mv_name = "sh7763drp", 214 .mv_name = "sh7763drp",
216 .mv_setup = sh7763rdp_setup, 215 .mv_setup = sh7763rdp_setup,
216 .mv_nr_irqs = 112,
217 .mv_init_irq = init_sh7763rdp_IRQ, 217 .mv_init_irq = init_sh7763rdp_IRQ,
218}; 218};