Haavard Skinnemoen <[EMAIL PROTECTED]> wrote:
> Jean-Christophe PLAGNIOL-VILLARD <[EMAIL PROTECTED]> wrote:
> > to prevent that the pointer will not be use for an other register
> > 
> > Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <[EMAIL PROTECTED]>  
> 
> Er. What? If a device is registered multiple times, that sounds like
> something which should be fixed, not papered over like this...

I take that back. I didn't realize how much of a f***ing trainwreck the
device system is...apparently the callers expect device_register() to
clone the device, but this fact was hidden well within the old list
implementation. Your patches makes this much more apparent, which is
obviously good.

Oh, and your patch fixes the breakage I was seeing on avr32. Thanks.

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

Reply via email to