summaryrefslogtreecommitdiff
path: root/examples/standalone/smc911x_eeprom.c
diff options
context:
space:
mode:
authorTom Rix <Tom.Rix@windriver.com>2010-01-23 07:22:23 -0600
committerTom Rix <Tom.Rix@windriver.com>2010-01-23 07:22:23 -0600
commit790af6ed08cc3675267191eb60403bd4f0d9a03c (patch)
treeded9dced10adeea568982bf634b9dc7d3c00f537 /examples/standalone/smc911x_eeprom.c
parent69df282a781dfe7a1bfc62acf0605992d3ea6c52 (diff)
parent57ae8a5cced612088104303777e71a3dc89c00ef (diff)
Merge branch 'r-ml-master' into t-master
Diffstat (limited to 'examples/standalone/smc911x_eeprom.c')
-rw-r--r--examples/standalone/smc911x_eeprom.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/examples/standalone/smc911x_eeprom.c b/examples/standalone/smc911x_eeprom.c
index fff31234646..104047f5a51 100644
--- a/examples/standalone/smc911x_eeprom.c
+++ b/examples/standalone/smc911x_eeprom.c
@@ -16,13 +16,6 @@
#include <common.h>
#include <exports.h>
-
-/* the smc911x.h gets base addr through eth_device' iobase */
-struct eth_device {
- const char *name;
- unsigned long iobase;
- void *priv;
-};
#include "../drivers/net/smc911x.h"
/**
@@ -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;
/* Print the ABI version */