[U-Boot] [PATCH] Fix breakage in SMC EEPROM standalone applications

Mike Frysinger vapier at gentoo.org
Mon Jan 18 23:02:16 CET 2010


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 <vapier at gentoo.org>
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
Url : http://lists.denx.de/pipermail/u-boot/attachments/20100118/cad176e5/attachment.pgp 


More information about the U-Boot mailing list