summaryrefslogtreecommitdiffstats
path: root/examples/standalone
diff options
context:
space:
mode:
Diffstat (limited to 'examples/standalone')
-rw-r--r--examples/standalone/smc91111_eeprom.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/examples/standalone/smc91111_eeprom.c b/examples/standalone/smc91111_eeprom.c
index 9145763e30..b91f34c3af 100644
--- a/examples/standalone/smc91111_eeprom.c
+++ b/examples/standalone/smc91111_eeprom.c
@@ -53,9 +53,8 @@ int smc91111_eeprom (int argc, char *argv[])
int c, i, j, done, line, reg, value, start, what;
char input[50];
- struct eth_device dev = {
- .iobase = CONFIG_SMC91111_BASE
- };
+ struct eth_device dev;
+ dev.iobase = CONFIG_SMC91111_BASE;
/* Print the ABI version */
app_startup (argv);
OpenPOWER on IntegriCloud