From mboxrd@z Thu Jan 1 00:00:00 1970 From: haojian.zhuang@gmail.com (Haojian Zhuang) Date: Wed, 16 Nov 2011 23:03:33 +0800 Subject: [PATCH] ARM: pxa: fix missing linux/gpio.h include In-Reply-To: <1321454103-26596-1-git-send-email-zonque@gmail.com> References: <1321454103-26596-1-git-send-email-zonque@gmail.com> Message-ID: To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Wed, Nov 16, 2011 at 10:35 PM, Daniel Mack wrote: > Fixes the following compile error: > > ?arch/arm/mach-pxa/pxa3xx.c: In function 'pxa3xx_cpu_pm_suspend': > ?arch/arm/mach-pxa/pxa3xx.c:156: error: implicit declaration of function 'gpio_get_value' > ?make[1]: *** [arch/arm/mach-pxa/pxa3xx.o] Error 1 > > Signed-off-by: Daniel Mack > Cc: Haojian Zhuang > Cc: Eric Miao > --- > > ?I didn't closely follow all recent patches around PXA, so it might be that > ?this has already been cared for. Haojian? > > ?arch/arm/mach-pxa/pxa3xx.c | ? ?1 + > ?1 files changed, 1 insertions(+), 0 deletions(-) > > diff --git a/arch/arm/mach-pxa/pxa3xx.c b/arch/arm/mach-pxa/pxa3xx.c > index 3866d52..7cddd11 100644 > --- a/arch/arm/mach-pxa/pxa3xx.c > +++ b/arch/arm/mach-pxa/pxa3xx.c > @@ -19,6 +19,7 @@ > ?#include > ?#include > ?#include > +#include > ?#include > ?#include > > -- > 1.7.7.1 > > > _______________________________________________ > linux-arm-kernel mailing list > linux-arm-kernel at lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-arm-kernel > Hi Daniel, At first, gpio_get_value() isn't used in arch/arm/mach-pxa/pxa3xx.c. Which git tree and which branch are you using now? I tried my git tree, arnd/for-next, rmk/for-next. Everything is ok. I can't find any build issue. Thanks Haojian