aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-shmobile/board-g3evm.c
diff options
context:
space:
mode:
authorMagnus Damm <damm@opensource.se>2010-05-20 10:35:30 -0400
committerPaul Mundt <lethal@linux-sh.org>2010-05-22 04:22:55 -0400
commit7490509fbca3e17e3a220533ea9b686f46c1e64d (patch)
tree42ec663d1113081fe327d3eb6e45f6e9ded5d71c /arch/arm/mach-shmobile/board-g3evm.c
parente370bc22c2aa42e0bdae178d558ce83ed8d23364 (diff)
ARM: mach-shmobile: sh7367/G3EVM evt2irq() update
This patch updates the irq numbers on sh7367/G3EVM 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-g3evm.c')
-rw-r--r--arch/arm/mach-shmobile/board-g3evm.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/arm/mach-shmobile/board-g3evm.c b/arch/arm/mach-shmobile/board-g3evm.c
index 19b3bf3bf566..16d292dc26df 100644
--- a/arch/arm/mach-shmobile/board-g3evm.c
+++ b/arch/arm/mach-shmobile/board-g3evm.c
@@ -121,7 +121,7 @@ static struct resource usb_host_resources[] = {
121 .flags = IORESOURCE_MEM, 121 .flags = IORESOURCE_MEM,
122 }, 122 },
123 [1] = { 123 [1] = {
124 .start = 65, 124 .start = evt2irq(0xa20), /* USBHS_USHI0 */
125 .flags = IORESOURCE_IRQ, 125 .flags = IORESOURCE_IRQ,
126 }, 126 },
127}; 127};
@@ -161,7 +161,7 @@ static struct resource keysc_resources[] = {
161 .flags = IORESOURCE_MEM, 161 .flags = IORESOURCE_MEM,
162 }, 162 },
163 [1] = { 163 [1] = {
164 .start = 79, 164 .start = evt2irq(0xbe0), /* KEYSC_KEY */
165 .flags = IORESOURCE_IRQ, 165 .flags = IORESOURCE_IRQ,
166 }, 166 },
167}; 167};
@@ -224,7 +224,7 @@ static struct resource irda_resources[] = {
224 .flags = IORESOURCE_MEM, 224 .flags = IORESOURCE_MEM,
225 }, 225 },
226 [1] = { 226 [1] = {
227 .start = 20, 227 .start = evt2irq(0x480), /* IRDA */
228 .flags = IORESOURCE_IRQ, 228 .flags = IORESOURCE_IRQ,
229 }, 229 },
230}; 230};
@@ -349,7 +349,7 @@ static void __init g3evm_init(void)
349 gpio_request(GPIO_FN_IRDA_OUT, NULL); 349 gpio_request(GPIO_FN_IRDA_OUT, NULL);
350 gpio_request(GPIO_FN_IRDA_IN, NULL); 350 gpio_request(GPIO_FN_IRDA_IN, NULL);
351 gpio_request(GPIO_FN_IRDA_FIRSEL, NULL); 351 gpio_request(GPIO_FN_IRDA_FIRSEL, NULL);
352 set_irq_type(20, IRQ_TYPE_LEVEL_LOW); 352 set_irq_type(evt2irq(0x480), IRQ_TYPE_LEVEL_LOW);
353 353
354 sh7367_add_standard_devices(); 354 sh7367_add_standard_devices();
355 355