diff options
Diffstat (limited to 'arch/arm/mach-pxa/pxa27x.c')
-rw-r--r-- | arch/arm/mach-pxa/pxa27x.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/arch/arm/mach-pxa/pxa27x.c b/arch/arm/mach-pxa/pxa27x.c index 411bec54fdc4..a425ec71e657 100644 --- a/arch/arm/mach-pxa/pxa27x.c +++ b/arch/arm/mach-pxa/pxa27x.c | |||
@@ -21,9 +21,8 @@ | |||
21 | #include <mach/hardware.h> | 21 | #include <mach/hardware.h> |
22 | #include <asm/irq.h> | 22 | #include <asm/irq.h> |
23 | #include <mach/irqs.h> | 23 | #include <mach/irqs.h> |
24 | #include <mach/pxa-regs.h> | 24 | #include <mach/gpio.h> |
25 | #include <mach/pxa2xx-regs.h> | 25 | #include <mach/pxa27x.h> |
26 | #include <mach/mfp-pxa27x.h> | ||
27 | #include <mach/reset.h> | 26 | #include <mach/reset.h> |
28 | #include <mach/ohci.h> | 27 | #include <mach/ohci.h> |
29 | #include <mach/pm.h> | 28 | #include <mach/pm.h> |
@@ -332,7 +331,7 @@ static int pxa27x_set_wake(unsigned int irq, unsigned int on) | |||
332 | void __init pxa27x_init_irq(void) | 331 | void __init pxa27x_init_irq(void) |
333 | { | 332 | { |
334 | pxa_init_irq(34, pxa27x_set_wake); | 333 | pxa_init_irq(34, pxa27x_set_wake); |
335 | pxa_init_gpio(121, pxa27x_set_wake); | 334 | pxa_init_gpio(IRQ_GPIO_2_x, 2, 120, pxa27x_set_wake); |
336 | } | 335 | } |
337 | 336 | ||
338 | /* | 337 | /* |
@@ -381,7 +380,7 @@ static int __init pxa27x_init(void) | |||
381 | 380 | ||
382 | clks_register(pxa27x_clkregs, ARRAY_SIZE(pxa27x_clkregs)); | 381 | clks_register(pxa27x_clkregs, ARRAY_SIZE(pxa27x_clkregs)); |
383 | 382 | ||
384 | if ((ret = pxa_init_dma(32))) | 383 | if ((ret = pxa_init_dma(IRQ_DMA, 32))) |
385 | return ret; | 384 | return ret; |
386 | 385 | ||
387 | pxa27x_init_pm(); | 386 | pxa27x_init_pm(); |