From b40e2320c440c5082020e5036a0cb8d4ed1b3d7d Mon Sep 17 00:00:00 2001 From: Ben Warren Date: Mon, 18 Jan 2010 11:35:31 -0800 Subject: 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 Acked-by: Mike Frysinger --- examples/standalone/smc91111_eeprom.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'examples/standalone/smc91111_eeprom.c') diff --git a/examples/standalone/smc91111_eeprom.c b/examples/standalone/smc91111_eeprom.c index 428ea7bd2f..9145763e30 100644 --- a/examples/standalone/smc91111_eeprom.c +++ b/examples/standalone/smc91111_eeprom.c @@ -29,8 +29,6 @@ #include #include -/* the smc91111.h gets base addr through eth_device' iobase */ -struct eth_device { unsigned long iobase; }; #include "../drivers/net/smc91111.h" #ifndef SMC91111_EEPROM_INIT -- cgit v1.2.1