summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-shmobile/board-g3evm.c
diff options
context:
space:
mode:
authorMagnus Damm <damm@opensource.se>2010-05-20 16:35:30 +0200
committerPaul Mundt <lethal@linux-sh.org>2010-05-22 10:22:55 +0200
commit7490509fbca3e17e3a220533ea9b686f46c1e64d (patch)
tree42ec663d1113081fe327d3eb6e45f6e9ded5d71c /arch/arm/mach-shmobile/board-g3evm.c
parentARM: mach-shmobile: Update VMALLOC_END (diff)
downloadlinux-7490509fbca3e17e3a220533ea9b686f46c1e64d.tar.xz
linux-7490509fbca3e17e3a220533ea9b686f46c1e64d.zip
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[] = {
.flags = IORESOURCE_MEM,
},
[1] = {
- .start = 65,
+ .start = evt2irq(0xa20), /* USBHS_USHI0 */
.flags = IORESOURCE_IRQ,
},
};
@@ -161,7 +161,7 @@ static struct resource keysc_resources[] = {
.flags = IORESOURCE_MEM,
},
[1] = {
- .start = 79,
+ .start = evt2irq(0xbe0), /* KEYSC_KEY */
.flags = IORESOURCE_IRQ,
},
};
@@ -224,7 +224,7 @@ static struct resource irda_resources[] = {
.flags = IORESOURCE_MEM,
},
[1] = {
- .start = 20,
+ .start = evt2irq(0x480), /* IRDA */
.flags = IORESOURCE_IRQ,
},
};
@@ -349,7 +349,7 @@ static void __init g3evm_init(void)
gpio_request(GPIO_FN_IRDA_OUT, NULL);
gpio_request(GPIO_FN_IRDA_IN, NULL);
gpio_request(GPIO_FN_IRDA_FIRSEL, NULL);
- set_irq_type(20, IRQ_TYPE_LEVEL_LOW);
+ set_irq_type(evt2irq(0x480), IRQ_TYPE_LEVEL_LOW);
sh7367_add_standard_devices();