Thread (26 messages) flat view 26 messages, 6 authors, 2012-09-04
STALE5090d

Revision v1 of 4 in this series.

Revisions (4)
  1. v1 current
  2. v2 [diff vs current]
  3. v2 [diff vs current]
  4. v2 [diff vs current]

[PATCH 02/10] gpio: pxa: add explicit includes for cpu_is_X macros

From: Rob Herring <hidden>
Date: 2012-08-29 22:31:28
Subsystem: gpio subsystem, pxa gpio driver, the rest · Maintainers: Linus Walleij, Bartosz Golaszewski, Robert Jarzmik, Linus Torvalds

From: Rob Herring <redacted>

In preparation to remove implicit inclusion of mach/gpio.h, add the
necessary includes for cpu_is_X macros.

Signed-off-by: Rob Herring <redacted>
Cc: Grant Likely <redacted>
Cc: Linus Walleij <redacted>
---
 drivers/gpio/gpio-pxa.c |    4 ++++
 1 file changed, 4 insertions(+)
diff --git a/drivers/gpio/gpio-pxa.c b/drivers/gpio/gpio-pxa.c
index 9cac88a..4d44e2f 100644
--- a/drivers/gpio/gpio-pxa.c
+++ b/drivers/gpio/gpio-pxa.c
@@ -27,6 +27,10 @@
 #include <linux/slab.h>
 
 #include <mach/irqs.h>
+#include <mach/hardware.h>
+#ifdef CONFIG_ARCH_MMP
+#include <mach/cputype.h>
+#endif
 
 /*
  * We handle the GPIOs by banks, each bank covers up to 32 GPIOs with
-- 
1.7.9.5
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help