gpio: Fix ARM versatile-express build failure
authorGrant Likely <grant.likely@secretlab.ca>
Sat, 29 Oct 2011 10:39:36 +0000 (12:39 +0200)
committerGrant Likely <grant.likely@secretlab.ca>
Sat, 29 Oct 2011 10:50:45 +0000 (12:50 +0200)
commit041af835b343d5f0d0615e20881f5974c9b1e566
tree7385bab75c8bfba8dbff4a46529a4fad5ed2727d
parente51130c0f5e5ca2f5b669ca6759e0ae1aa197b63
gpio: Fix ARM versatile-express build failure

A missing mach/gpio.h prevents building gpiolib on versatile express.

  CC      drivers/gpio/gpiolib.o
In file included from /.../linux/include/linux/gpio.h:18:0,
                 from /.../linux/drivers/gpio/gpiolib.c:10:
/.../linux/arch/arm/include/asm/gpio.h:5:23: fatal error: mach/gpio.h: No such file or directory
compilation terminated.
make[3]: *** [drivers/gpio/gpiolib.o] Error 1
make[2]: *** [drivers/gpio] Error 2
make[1]: *** [drivers] Error 2
make: *** [sub-make] Error 2

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
arch/arm/mach-vexpress/include/mach/gpio.h [new file with mode: 0644]