diff options
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 c51a05028..00e826689 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); |