summaryrefslogtreecommitdiffstats
path: root/drivers/gpio
diff options
context:
space:
mode:
authorRob Herring <rob.herring@calxeda.com>2012-01-03 22:52:42 +0100
committerRob Herring <rob.herring@calxeda.com>2012-01-26 03:37:43 +0100
commitfeefe73fcbb4dfc952d4185d80435fb8e053e2a7 (patch)
treef0555d596a893656ab2b5f33a5b55007c9dbc776 /drivers/gpio
parentsound: pxa2xx-ac97: include mach/irqs.h directly (diff)
downloadlinux-feefe73fcbb4dfc952d4185d80435fb8e053e2a7.tar.xz
linux-feefe73fcbb4dfc952d4185d80435fb8e053e2a7.zip
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>
Diffstat (limited to 'drivers/gpio')
-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: