]> git.dujemihanovic.xyz Git - u-boot.git/commit
Fix breakage in SMC EEPROM standalone applications
authorBen Warren <biggerbadderben@gmail.com>
Mon, 18 Jan 2010 19:35:31 +0000 (11:35 -0800)
committerWolfgang Denk <wd@denx.de>
Mon, 18 Jan 2010 23:05:53 +0000 (00:05 +0100)
commitb40e2320c440c5082020e5036a0cb8d4ed1b3d7d
tree6f8fd8bfe0155a1212da881c7bbae2f9b5efcd20
parent2a9987935e3cdb61e7550c87cbc9f500a54f672d
Fix breakage in SMC EEPROM standalone applications

Commit 6a45e384955262882375a2785426dc65aeb636c4 (Make getenv_IPaddr() global)
inadvertently added ' #include "net.h" ' to the standalone programs, creating
duplicate definitions of 'struct eth_device'.  This patch removes the local
definitions and removes other code that breaks due to the change in definition.

Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
Acked-by: Mike Frysinger <vapier@gentoo.org>
examples/standalone/smc91111_eeprom.c
examples/standalone/smc911x_eeprom.c