diff options
Diffstat (limited to 'arch/arm/mach-mx1/scb9328.c')
-rw-r--r-- | arch/arm/mach-mx1/scb9328.c | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/arch/arm/mach-mx1/scb9328.c b/arch/arm/mach-mx1/scb9328.c index 20e0b5bcdffc..325d98df6053 100644 --- a/arch/arm/mach-mx1/scb9328.c +++ b/arch/arm/mach-mx1/scb9328.c | |||
@@ -68,22 +68,20 @@ static struct dm9000_plat_data dm9000_platdata = { | |||
68 | * to gain access to address latch registers and the data path. | 68 | * to gain access to address latch registers and the data path. |
69 | */ | 69 | */ |
70 | static struct resource dm9000x_resources[] = { | 70 | static struct resource dm9000x_resources[] = { |
71 | [0] = { | 71 | { |
72 | .name = "address area", | 72 | .name = "address area", |
73 | .start = IMX_CS5_PHYS, | 73 | .start = IMX_CS5_PHYS, |
74 | .end = IMX_CS5_PHYS + 1, | 74 | .end = IMX_CS5_PHYS + 1, |
75 | .flags = IORESOURCE_MEM /* address access */ | 75 | .flags = IORESOURCE_MEM, /* address access */ |
76 | }, | 76 | }, { |
77 | [1] = { | ||
78 | .name = "data area", | 77 | .name = "data area", |
79 | .start = IMX_CS5_PHYS + 4, | 78 | .start = IMX_CS5_PHYS + 4, |
80 | .end = IMX_CS5_PHYS + 5, | 79 | .end = IMX_CS5_PHYS + 5, |
81 | .flags = IORESOURCE_MEM /* data access */ | 80 | .flags = IORESOURCE_MEM, /* data access */ |
82 | }, | 81 | }, { |
83 | [2] = { | ||
84 | .start = IRQ_GPIOC(3), | 82 | .start = IRQ_GPIOC(3), |
85 | .end = IRQ_GPIOC(3), | 83 | .end = IRQ_GPIOC(3), |
86 | .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_LOWLEVEL | 84 | .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_LOWLEVEL, |
87 | }, | 85 | }, |
88 | }; | 86 | }; |
89 | 87 | ||
@@ -154,7 +152,7 @@ MACHINE_START(SCB9328, "Synertronixx scb9328") | |||
154 | .io_pg_offst = ((0xe0200000) >> 18) & 0xfffc, | 152 | .io_pg_offst = ((0xe0200000) >> 18) & 0xfffc, |
155 | .boot_params = 0x08000100, | 153 | .boot_params = 0x08000100, |
156 | .map_io = mx1_map_io, | 154 | .map_io = mx1_map_io, |
157 | .init_irq = mxc_init_irq, | 155 | .init_irq = mx1_init_irq, |
158 | .timer = &scb9328_timer, | 156 | .timer = &scb9328_timer, |
159 | .init_machine = scb9328_init, | 157 | .init_machine = scb9328_init, |
160 | MACHINE_END | 158 | MACHINE_END |