Skip to content

Commit

Permalink
gpio: include linux/gpio.h where needed
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Randy Dunlap authored and Grant Likely committed Jun 16, 2011
1 parent 55b220c commit 158f1e9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions arch/arm/mach-pxa/spitz_pm.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
1 change: 1 addition & 0 deletions drivers/pcmcia/pxa2xx_vpac270.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
*
*/

#include <linux/gpio.h>
#include <linux/module.h>
#include <linux/platform_device.h>

Expand Down

0 comments on commit 158f1e9

Please sign in to comment.