Re: [PATCH v2] ARM: OMAP2: Add missing include of linux/gpio.h

From: Axel Lin
Date: Tue May 31 2011 - 09:24:16 EST


2011/5/31 Tony Lindgren <tony@xxxxxxxxxxx>:
> * Axel Lin <axel.lin@xxxxxxxxx> [110531 05:51]:
>> I got some build error like below while executing "make omap2plus_defconfig".
>>
>>   CC      arch/arm/mach-omap2/board-2430sdp.o
>> arch/arm/mach-omap2/board-2430sdp.c: In function 'omap_2430sdp_init':
>> arch/arm/mach-omap2/board-2430sdp.c:247: error: 'GPIOF_OUT_INIT_LOW' undeclared (first use in this function)
>> arch/arm/mach-omap2/board-2430sdp.c:247: error: (Each undeclared identifier is reported only once
>> arch/arm/mach-omap2/board-2430sdp.c:247: error: for each function it appears in.)
>>
>> This patch fixes the build error by include linux/gpio.h instead of mach/gpio.h.
>
> Does this happen with next?
Yes, I build the kernel with today's linux-next tree.
>
> Will queue as a fix anyways.
Thanks,
Axel
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/