diff options
Diffstat (limited to 'arch/arm/mach-pxa/mioa701.c')
-rw-r--r-- | arch/arm/mach-pxa/mioa701.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/arm/mach-pxa/mioa701.c b/arch/arm/mach-pxa/mioa701.c index dce71b4a3a55..e80a3db735c2 100644 --- a/arch/arm/mach-pxa/mioa701.c +++ b/arch/arm/mach-pxa/mioa701.c | |||
@@ -537,15 +537,15 @@ static struct pda_power_pdata power_pdata = { | |||
537 | static struct resource power_resources[] = { | 537 | static struct resource power_resources[] = { |
538 | [0] = { | 538 | [0] = { |
539 | .name = "ac", | 539 | .name = "ac", |
540 | .start = gpio_to_irq(GPIO96_AC_DETECT), | 540 | .start = PXA_GPIO_TO_IRQ(GPIO96_AC_DETECT), |
541 | .end = gpio_to_irq(GPIO96_AC_DETECT), | 541 | .end = PXA_GPIO_TO_IRQ(GPIO96_AC_DETECT), |
542 | .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_HIGHEDGE | | 542 | .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_HIGHEDGE | |
543 | IORESOURCE_IRQ_LOWEDGE, | 543 | IORESOURCE_IRQ_LOWEDGE, |
544 | }, | 544 | }, |
545 | [1] = { | 545 | [1] = { |
546 | .name = "usb", | 546 | .name = "usb", |
547 | .start = gpio_to_irq(GPIO13_nUSB_DETECT), | 547 | .start = PXA_GPIO_TO_IRQ(GPIO13_nUSB_DETECT), |
548 | .end = gpio_to_irq(GPIO13_nUSB_DETECT), | 548 | .end = PXA_GPIO_TO_IRQ(GPIO13_nUSB_DETECT), |
549 | .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_HIGHEDGE | | 549 | .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_HIGHEDGE | |
550 | IORESOURCE_IRQ_LOWEDGE, | 550 | IORESOURCE_IRQ_LOWEDGE, |
551 | }, | 551 | }, |