[PATCH] ixp4xx: fix compilation by adding gpiolib support

Jonathan Nieder jrnieder at gmail.com
Wed May 23 14:18:29 EDT 2012

Jonathan Nieder wrote:

> 	The problem was introduced with commit eb9ae7f2a381 ("gpio: fix build
> 	error in include/asm-generic/gpio.h").
> Richard Cochran wrote:

>> This fix should also go for 3.1, 3.2, 3.3, and 3.4.
> If 3.1.y were still maintained, do I understand correctly that it
> would not need this because it lacks eb9ae7f2a381?

Quick correction: looks like[*] 3.1 is also affected due to
58c244009ef6 ("Input: ads7846 - cleanup GPIO initialization").  Sorry
I missed that before.

drivers/input/touchscreen/ads7846.c: In function 'ads7846_setup_pendown':
drivers/input/touchscreen/ads7846.c:970: error: implicit declaration of
function 'gpio_request_one'

Hope that helps,

[*] http://thread.gmane.org/gmane.linux.kernel/1250585/focus=1250984

More information about the linux-arm-kernel mailing list