summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Herring <rob.herring@calxeda.com>2012-01-04 01:52:42 +0400
committerRob Herring <rob.herring@calxeda.com>2012-01-26 06:37:43 +0400
commitfeefe73fcbb4dfc952d4185d80435fb8e053e2a7 (patch)
treef0555d596a893656ab2b5f33a5b55007c9dbc776
parent9482ee7175d1c312c96ffc85c7c413b283cf847b (diff)
downloadlinux-feefe73fcbb4dfc952d4185d80435fb8e053e2a7.tar.xz
gpio: pxa: explicitly include mach/irqs.h
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>
-rw-r--r--drivers/gpio/gpio-pxa.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpio/gpio-pxa.c b/drivers/gpio/gpio-pxa.c
index b2d3ee1d183a..5689ce62fd81 100644
--- a/drivers/gpio/gpio-pxa.c
+++ b/drivers/gpio/gpio-pxa.c
@@ -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: