diff options
| author | Wolfgang Denk <[email protected]> | 2010-07-15 22:48:46 +0200 |
|---|---|---|
| committer | Wolfgang Denk <[email protected]> | 2010-07-15 22:48:46 +0200 |
| commit | 93502a5e0adcfc0ce6cf8e3daa7eb9a4f4e53658 (patch) | |
| tree | 85bf8677d8e8095ef18453199a99c5e4131d217d /examples | |
| parent | dce6538f5d21a0def8a4df5328d536abed3e136a (diff) | |
| parent | d6f324d03d7829a1da1dee8b60f91b173a3976f0 (diff) | |
Merge branch 'master' of ../master
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); |
