summaryrefslogtreecommitdiffstats
path: root/drivers/gpio
diff options
context:
space:
mode:
authorRob Herring <rob.herring@calxeda.com>2012-01-03 15:52:42 -0600
committerRob Herring <rob.herring@calxeda.com>2012-01-25 20:37:43 -0600
commitfeefe73fcbb4dfc952d4185d80435fb8e053e2a7 (patch)
treef0555d596a893656ab2b5f33a5b55007c9dbc776 /drivers/gpio
parent9482ee7175d1c312c96ffc85c7c413b283cf847b (diff)
downloadlinux-stable-feefe73fcbb4dfc952d4185d80435fb8e053e2a7.tar.gz
linux-stable-feefe73fcbb4dfc952d4185d80435fb8e053e2a7.tar.bz2
linux-stable-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: