[ARM] pxa: move IRQ handling of GPIO 0 and 1 outside of gpio.c
[deliverable/linux.git] / arch / arm / mach-pxa / pxa27x.c
index c8b469bbcf3bc14f332c64a97f4d14e79b0bd085..a425ec71e657cb5bd9ed55beb228bf2523b2b653 100644 (file)
@@ -21,6 +21,7 @@
 #include <mach/hardware.h>
 #include <asm/irq.h>
 #include <mach/irqs.h>
+#include <mach/gpio.h>
 #include <mach/pxa27x.h>
 #include <mach/reset.h>
 #include <mach/ohci.h>
@@ -330,7 +331,7 @@ static int pxa27x_set_wake(unsigned int irq, unsigned int on)
 void __init pxa27x_init_irq(void)
 {
        pxa_init_irq(34, pxa27x_set_wake);
-       pxa_init_gpio(121, pxa27x_set_wake);
+       pxa_init_gpio(IRQ_GPIO_2_x, 2, 120, pxa27x_set_wake);
 }
 
 /*
This page took 0.02861 seconds and 5 git commands to generate.