diff options
author | Haojian Zhuang <haojian.zhuang@marvell.com> | 2011-12-08 15:07:19 +0800 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2011-12-08 16:12:55 +0000 |
commit | 6f7c047164631a474a544266355767d9edbac50c (patch) | |
tree | 30e1d8a59e3de4e66ea31321c7d5d4884a97e010 | |
parent | 951c486f62490e032da0ad17e93270b0cfb6687f (diff) | |
download | linux-6f7c047164631a474a544266355767d9edbac50c.tar.gz linux-6f7c047164631a474a544266355767d9edbac50c.tar.bz2 linux-6f7c047164631a474a544266355767d9edbac50c.zip |
ARM: pxa: fix the build error because of missing gpio-pxa.h
arch/arm/mach-pxa/corgi_pm.c: In function ‘corgi_should_wakeup’:
arch/arm/mach-pxa/corgi_pm.c:102:2: error: implicit declaration of
function ‘GPIO_bit’
make[1]: *** [arch/arm/mach-pxa/corgi_pm.o] Error 1
make: *** [arch/arm/mach-pxa] Error 2
Signed-off-by: Haojian Zhuang <haojian.zhuang@marvell.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
-rw-r--r-- | arch/arm/mach-pxa/corgi_pm.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-pxa/corgi_pm.c b/arch/arm/mach-pxa/corgi_pm.c index eca862fb2cd5..39e265cfc86d 100644 --- a/arch/arm/mach-pxa/corgi_pm.c +++ b/arch/arm/mach-pxa/corgi_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> |