diff options
author | Tom Rini <trini@konsulko.com> | 2018-06-14 07:20:41 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2018-06-14 07:20:41 -0400 |
commit | 606fddd76c7a045c09d544357806b0b4de4845c7 (patch) | |
tree | 5caaf0bcc020c1cefea322807e179f1f16a644ea /net/eth-uclass.c | |
parent | 66398944f53921ec641e1c2202390933767dbb87 (diff) | |
parent | 5b2c9a6ce3ce66796e8c375133da8340c7ab2adc (diff) |
Merge branch 'master' of git://git.denx.de/u-boot-net
Diffstat (limited to 'net/eth-uclass.c')
-rw-r--r-- | net/eth-uclass.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/eth-uclass.c b/net/eth-uclass.c index d20a1cf160..e4b49229e3 100644 --- a/net/eth-uclass.c +++ b/net/eth-uclass.c @@ -395,7 +395,7 @@ int eth_initialize(void) * This is accomplished by attempting to probe each device and calling * their write_hwaddr() operation. */ - uclass_first_device(UCLASS_ETH, &dev); + uclass_first_device_check(UCLASS_ETH, &dev); if (!dev) { printf("No ethernet found.\n"); bootstage_error(BOOTSTAGE_ID_NET_ETH_START); @@ -424,7 +424,7 @@ int eth_initialize(void) eth_write_hwaddr(dev); - uclass_next_device(&dev); + uclass_next_device_check(&dev); num_devices++; } while (dev); |