projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9482ee7
)
gpio: pxa: explicitly include mach/irqs.h
author
Rob Herring
<rob.herring@calxeda.com>
Tue, 3 Jan 2012 21:52:42 +0000
(15:52 -0600)
committer
Rob 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
patch
|
blob
|
history
diff --git
a/drivers/gpio/gpio-pxa.c
b/drivers/gpio/gpio-pxa.c
index b2d3ee1d183a50b2da33ac819d2a74375966b726..5689ce62fd81badc2fdeceeb604fdf866d5b3bda 100644
(file)
--- 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: