diff options
author | Magnus Damm <damm@opensource.se> | 2010-05-20 10:41:00 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2010-05-22 04:22:56 -0400 |
commit | 33c9607acf159da986c85983e1b58b739bcb46c2 (patch) | |
tree | b83d6f9ce0b9bb2eb2e51437da745b77e4dbdfd3 /arch/arm/mach-shmobile/board-ap4evb.c | |
parent | 043296dd430c26cab042dd75341f458c92d824b9 (diff) |
ARM: mach-shmobile: sh7372/AP4EVB evt2irq() update
This patch updates the irq numbers on sh7372/AP4EVB
to make use of evt2irq() and intcs_evt2irq().
Signed-off-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/arm/mach-shmobile/board-ap4evb.c')
-rw-r--r-- | arch/arm/mach-shmobile/board-ap4evb.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/arch/arm/mach-shmobile/board-ap4evb.c b/arch/arm/mach-shmobile/board-ap4evb.c index 4d197e36270a..5342306cd391 100644 --- a/arch/arm/mach-shmobile/board-ap4evb.c +++ b/arch/arm/mach-shmobile/board-ap4evb.c | |||
@@ -165,7 +165,7 @@ static struct resource smc911x_resources[] = { | |||
165 | .end = 0x16000000 - 1, | 165 | .end = 0x16000000 - 1, |
166 | .flags = IORESOURCE_MEM, | 166 | .flags = IORESOURCE_MEM, |
167 | }, { | 167 | }, { |
168 | .start = 6, | 168 | .start = evt2irq(0x02c0) /* IRQ6A */, |
169 | .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_LOWLEVEL, | 169 | .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_LOWLEVEL, |
170 | }, | 170 | }, |
171 | }; | 171 | }; |
@@ -208,7 +208,7 @@ static struct resource keysc_resources[] = { | |||
208 | .flags = IORESOURCE_MEM, | 208 | .flags = IORESOURCE_MEM, |
209 | }, | 209 | }, |
210 | [1] = { | 210 | [1] = { |
211 | .start = 79, | 211 | .start = evt2irq(0x0be0), /* KEYSC_KEY */ |
212 | .flags = IORESOURCE_IRQ, | 212 | .flags = IORESOURCE_IRQ, |
213 | }, | 213 | }, |
214 | }; | 214 | }; |
@@ -232,7 +232,7 @@ static struct resource sdhi0_resources[] = { | |||
232 | .flags = IORESOURCE_MEM, | 232 | .flags = IORESOURCE_MEM, |
233 | }, | 233 | }, |
234 | [1] = { | 234 | [1] = { |
235 | .start = 96, | 235 | .start = evt2irq(0x0e00) /* SDHI0 */, |
236 | .flags = IORESOURCE_IRQ, | 236 | .flags = IORESOURCE_IRQ, |
237 | }, | 237 | }, |
238 | }; | 238 | }; |
@@ -267,8 +267,7 @@ static struct resource usb1_host_resources[] = { | |||
267 | .flags = IORESOURCE_MEM, | 267 | .flags = IORESOURCE_MEM, |
268 | }, | 268 | }, |
269 | [1] = { | 269 | [1] = { |
270 | .start = 215, | 270 | .start = evt2irq(0x1ce0) /* USB1_USB1I0 */, |
271 | .end = 215, | ||
272 | .flags = IORESOURCE_IRQ, | 271 | .flags = IORESOURCE_IRQ, |
273 | }, | 272 | }, |
274 | }; | 273 | }; |
@@ -294,7 +293,7 @@ static struct platform_device *ap4evb_devices[] __initdata = { | |||
294 | }; | 293 | }; |
295 | 294 | ||
296 | /* TouchScreen (Needs SW3 set to OFF) */ | 295 | /* TouchScreen (Needs SW3 set to OFF) */ |
297 | #define IRQ28 396 | 296 | #define IRQ28 evt2irq(0x3380) /* IRQ28A */ |
298 | struct tsc2007_platform_data tsc2007_info = { | 297 | struct tsc2007_platform_data tsc2007_info = { |
299 | .model = 2007, | 298 | .model = 2007, |
300 | .x_plate_ohms = 180, | 299 | .x_plate_ohms = 180, |