On Tuesday 22 November 2011 17:37:49 Marek Vasut wrote:
> > like Marek wants, and then the header simply does:
> >     extern int name_to_gpio(unsigned gpio);
> >     #define name_to_gpio(gpio) name_to_gpio(gpio)
> 
> Man, this is really ... urgh. But fine, it's better than it was anyway.

this is the SOP in many Linux APIs, and is simple for keeping down duplication 
while allowing customizations of a tiny subset

if you have a better proposal then let's hear it
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.

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

Reply via email to