diff options
Diffstat (limited to 'arch/arm/mach-pxa/pxa25x.c')
| -rw-r--r-- | arch/arm/mach-pxa/pxa25x.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/arch/arm/mach-pxa/pxa25x.c b/arch/arm/mach-pxa/pxa25x.c index 6c57522e2469..77c2693cfeef 100644 --- a/arch/arm/mach-pxa/pxa25x.c +++ b/arch/arm/mach-pxa/pxa25x.c | |||
| @@ -25,9 +25,8 @@ | |||
| 25 | 25 | ||
| 26 | #include <mach/hardware.h> | 26 | #include <mach/hardware.h> |
| 27 | #include <mach/irqs.h> | 27 | #include <mach/irqs.h> |
| 28 | #include <mach/pxa-regs.h> | 28 | #include <mach/gpio.h> |
| 29 | #include <mach/pxa2xx-regs.h> | 29 | #include <mach/pxa25x.h> |
| 30 | #include <mach/mfp-pxa25x.h> | ||
| 31 | #include <mach/reset.h> | 30 | #include <mach/reset.h> |
| 32 | #include <mach/pm.h> | 31 | #include <mach/pm.h> |
| 33 | #include <mach/dma.h> | 32 | #include <mach/dma.h> |
| @@ -310,14 +309,14 @@ set_pwer: | |||
| 310 | void __init pxa25x_init_irq(void) | 309 | void __init pxa25x_init_irq(void) |
| 311 | { | 310 | { |
| 312 | pxa_init_irq(32, pxa25x_set_wake); | 311 | pxa_init_irq(32, pxa25x_set_wake); |
| 313 | pxa_init_gpio(85, pxa25x_set_wake); | 312 | pxa_init_gpio(IRQ_GPIO_2_x, 2, 84, pxa25x_set_wake); |
| 314 | } | 313 | } |
| 315 | 314 | ||
| 316 | #ifdef CONFIG_CPU_PXA26x | 315 | #ifdef CONFIG_CPU_PXA26x |
| 317 | void __init pxa26x_init_irq(void) | 316 | void __init pxa26x_init_irq(void) |
| 318 | { | 317 | { |
| 319 | pxa_init_irq(32, pxa25x_set_wake); | 318 | pxa_init_irq(32, pxa25x_set_wake); |
| 320 | pxa_init_gpio(90, pxa25x_set_wake); | 319 | pxa_init_gpio(IRQ_GPIO_2_x, 2, 89, pxa25x_set_wake); |
| 321 | } | 320 | } |
| 322 | #endif | 321 | #endif |
| 323 | 322 | ||
| @@ -355,7 +354,7 @@ static int __init pxa25x_init(void) | |||
| 355 | 354 | ||
| 356 | clks_register(pxa25x_clkregs, ARRAY_SIZE(pxa25x_clkregs)); | 355 | clks_register(pxa25x_clkregs, ARRAY_SIZE(pxa25x_clkregs)); |
| 357 | 356 | ||
| 358 | if ((ret = pxa_init_dma(16))) | 357 | if ((ret = pxa_init_dma(IRQ_DMA, 16))) |
| 359 | return ret; | 358 | return ret; |
| 360 | 359 | ||
| 361 | pxa25x_init_pm(); | 360 | pxa25x_init_pm(); |
