gpio_keys & gpio_request

Jean-Christophe PLAGNIOL-VILLARD plagnioj at jcrosoft.com
Thu Apr 12 10:00:12 EDT 2012


On 14:46 Thu 12 Apr     , Eric Bénard wrote:
> Hi,
> 
> gpio_keys.c is using gpio_request which is only defined in
> arch/arm/mach-at91/include/mach/gpio.h
> so enabling this driver fails when we are not building barebox for
> an at91 : is that expected ?

gpio_request is normal so we need to fix the other gpio drivers

I've some patch to update the atmel gpio to implement the gpio_request to mux
the pin as gpio.

Best Regards,
J.



More information about the barebox mailing list