diff options
| author | Wolfgang Denk <[email protected]> | 2010-07-14 22:04:30 +0200 |
|---|---|---|
| committer | Wolfgang Denk <[email protected]> | 2010-07-14 22:04:30 +0200 |
| commit | 50298d37e698a6c730eacf1811da5e7011e20113 (patch) | |
| tree | a51aafa009344af9da761e9477264d53bc60117d /examples | |
| parent | cb8f0317295482b1a48802778a6927510cb145ba (diff) | |
| parent | ab9164d0defe766fbbf0bc75c7e1645de63b7923 (diff) | |
Merge branch 'master' of git://git.denx.de/u-boot-net
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/standalone/smc911x_eeprom.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/standalone/smc911x_eeprom.c b/examples/standalone/smc911x_eeprom.c index c51a05028a5..00e826689f3 100644 --- a/examples/standalone/smc911x_eeprom.c +++ b/examples/standalone/smc911x_eeprom.c @@ -240,7 +240,7 @@ static void dump_eeprom(struct eth_device *dev) static int smc911x_init(struct eth_device *dev) { /* See if there is anything there */ - if (!smc911x_detect_chip(dev)) + if (smc911x_detect_chip(dev)) return 1; smc911x_reset(dev); |
