summaryrefslogtreecommitdiff
path: root/examples/standalone/smc91111_eeprom.c
diff options
context:
space:
mode:
authorBen Warren <biggerbadderben@gmail.com>2010-01-18 11:35:31 -0800
committerWolfgang Denk <wd@denx.de>2010-01-19 00:05:53 +0100
commitb40e2320c440c5082020e5036a0cb8d4ed1b3d7d (patch)
tree6f8fd8bfe0155a1212da881c7bbae2f9b5efcd20 /examples/standalone/smc91111_eeprom.c
parent2a9987935e3cdb61e7550c87cbc9f500a54f672d (diff)
downloadu-boot-imx-b40e2320c440c5082020e5036a0cb8d4ed1b3d7d.zip
u-boot-imx-b40e2320c440c5082020e5036a0cb8d4ed1b3d7d.tar.gz
u-boot-imx-b40e2320c440c5082020e5036a0cb8d4ed1b3d7d.tar.bz2
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>
Diffstat (limited to 'examples/standalone/smc91111_eeprom.c')
-rw-r--r--examples/standalone/smc91111_eeprom.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/examples/standalone/smc91111_eeprom.c b/examples/standalone/smc91111_eeprom.c
index 428ea7b..9145763 100644
--- a/examples/standalone/smc91111_eeprom.c
+++ b/examples/standalone/smc91111_eeprom.c
@@ -29,8 +29,6 @@
#include <common.h>
#include <exports.h>
-/* 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