[U-Boot] [PATCH 06/20] iMX28: Add GPIO control

Marek Vasut
2011-11-10T16:58:17Z

> On Wednesday 09 November 2011 04:18:13 Marek Vasut wrote:
> > +int gpio_request(int gp, const char *label)
>
> all of these gpio funcs should be "unsigned gpio"
> -mike

It's a problem of API then?

include/asm/gpio.h:int gpio_request(int gp, const char *label);

TBH, I can't imagine gpio number to be lower than zero, but who knows.

M