On Monday 18 January 2010 14:35:31 Ben Warren wrote: > --- a/examples/standalone/smc911x_eeprom.c > +++ b/examples/standalone/smc911x_eeprom.c > @@ -324,7 +317,6 @@ int smc911x_eeprom(int argc, char *argv[]) > { > /* Avoid initializing on stack as gcc likes to call memset() */ > struct eth_device dev; > - dev.name = __func__; > dev.iobase = CONFIG_SMC911X_BASE;
the .name was added because some patch was changing smc911x.h to use it in error reporting, but i guess that never made it in as the current header uses DRIVERNAME ... Acked-by: Mike Frysinger <vap...@gentoo.org> -mike
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