summaryrefslogtreecommitdiff
path: root/board/atmel/common
diff options
context:
space:
mode:
Diffstat (limited to 'board/atmel/common')
-rw-r--r--board/atmel/common/mac_eeprom.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/atmel/common/mac_eeprom.c b/board/atmel/common/mac_eeprom.c
index a723ba723c9..4606008c697 100644
--- a/board/atmel/common/mac_eeprom.c
+++ b/board/atmel/common/mac_eeprom.c
@@ -56,7 +56,7 @@ int at91_set_eth1addr(int offset)
return ret;
/* attempt to obtain a second eeprom device */
- ret = uclass_next_device(&dev);
+ ret = uclass_next_device_err(&dev);
if (ret)
return ret;