From: Mike Frysinger Date: Mon, 18 Jan 2010 17:02:16 -0500 Subject: [U-Boot] [PATCH] Fix breakage in SMC EEPROM standalone applications In-Reply-To: <1263843331-30089-1-git-send-email-biggerbadderben@gmail.com> References: <1263843331-30089-1-git-send-email-biggerbadderben@gmail.com> Message-ID: <201001181702.17348.vapier@gentoo.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 -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