> On Thursday 10 November 2011 11:58:17 Marek Vasut wrote:
> > > 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"
> > 
> > It's a problem of API then?
> > 
> > include/asm/gpio.h:int gpio_request(int gp, const char *label);
> 
> a patch has been posted already to fix that

Posted, yes ... applied?

> 
> > TBH, I can't imagine gpio number to be lower than zero, but who knows.
> 
> such a value makes no sense.  the incoming number is interpreted by the
> gpio driver, so the starting/ending numbers are completely arbitrary. 
> thus we deal with unsigned only.
> -mike

Definitelly.
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to