Explorar el Código

gpio: include linux/gpio.h where needed

Some files use GPIOF_ macros but don't include the header file
for them.  These macros are being moved to <linux/gpio.h>, so add
includes for <linux/gpio.h> where needed.

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Randy Dunlap hace 14 años
padre
commit
158f1e9518
Se han modificado 2 ficheros con 2 adiciones y 0 borrados
  1. 1 0
      arch/arm/mach-pxa/spitz_pm.c
  2. 1 0
      drivers/pcmcia/pxa2xx_vpac270.c

+ 1 - 0
arch/arm/mach-pxa/spitz_pm.c

@@ -14,6 +14,7 @@
 #include <linux/init.h>
 #include <linux/kernel.h>
 #include <linux/delay.h>
+#include <linux/gpio.h>
 #include <linux/interrupt.h>
 #include <linux/platform_device.h>
 #include <linux/apm-emulation.h>

+ 1 - 0
drivers/pcmcia/pxa2xx_vpac270.c

@@ -11,6 +11,7 @@
  *
  */
 
+#include <linux/gpio.h>
 #include <linux/module.h>
 #include <linux/platform_device.h>