gpio: pxa: explicitly include mach/irqs.h
authorRob Herring <rob.herring@calxeda.com>
Tue, 3 Jan 2012 21:52:42 +0000 (15:52 -0600)
committerRob Herring <rob.herring@calxeda.com>
Thu, 26 Jan 2012 02:37:43 +0000 (20:37 -0600)
In preparation to make mach/irqs.h optional and remove from asm/irq.h,
directly include mach/irq.h to get MMP_GPIO_TO_IRQ and PXA_GPIO_TO_IRQ.

Signed-off-by: Rob Herring <rob.herring@calxeda.com>
drivers/gpio/gpio-pxa.c

index b2d3ee1..5689ce6 100644 (file)
@@ -22,6 +22,8 @@
 #include <linux/syscore_ops.h>
 #include <linux/slab.h>
 
+#include <mach/irqs.h>
+
 /*
  * We handle the GPIOs by banks, each bank covers up to 32 GPIOs with
  * one set of registers. The register offsets are organized below: