aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-pxa
diff options
context:
space:
mode:
authorHaojian Zhuang <haojian.zhuang@marvell.com>2011-12-08 15:07:18 +0800
committerArnd Bergmann <arnd@arndb.de>2011-12-08 16:12:55 +0000
commite0bf102e1df73182e98c5ff96711b04534bc7bd9 (patch)
tree1f0d6a5110b0dc6989ffdf5d84240c0d1c6807af /arch/arm/mach-pxa
parentARM: pxa: fix the build error because of missing gpio-pxa.h (diff)
downloadlinux-dev-e0bf102e1df73182e98c5ff96711b04534bc7bd9.tar.xz
linux-dev-e0bf102e1df73182e98c5ff96711b04534bc7bd9.zip
ARM: pxa: fix build error for GPIO_bit()
arch/arm/mach-pxa/spitz_pm.c: In function ‘spitz_presuspend’: arch/arm/mach-pxa/spitz_pm.c:112:2: error: implicit declaration of function ‘GPIO_bit’ make[1]: *** [arch/arm/mach-pxa/spitz_pm.o] Error 1 GPIO_bit() is moved into <linux/gpio-pxa.h>. Signed-off-by: Haojian Zhuang <haojian.zhuang@marvell.com> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/arm/mach-pxa')
-rw-r--r--arch/arm/mach-pxa/spitz_pm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-pxa/spitz_pm.c b/arch/arm/mach-pxa/spitz_pm.c
index 5cc05d122d0c..34cbdac51525 100644
--- a/arch/arm/mach-pxa/spitz_pm.c
+++ b/arch/arm/mach-pxa/spitz_pm.c
@@ -15,6 +15,7 @@
#include <linux/kernel.h>
#include <linux/delay.h>
#include <linux/gpio.h>
+#include <linux/gpio-pxa.h>
#include <linux/interrupt.h>
#include <linux/platform_device.h>
#include <linux/apm-emulation.h>