]> git.sur5r.net Git - u-boot/blobdiff - test/dm/eth.c
travis-ci: Emulate 'make tests'
[u-boot] / test / dm / eth.c
index 6288ae24abb4467580bb5e1cbd1515c59a6f69b5..564ad36916016f241909fc90971e1cae91e4fe54 100644 (file)
@@ -116,7 +116,7 @@ static int dm_test_eth_act(struct unit_test_state *uts)
        for (i = 0; i < DM_TEST_ETH_NUM; i++) {
                ut_assertok(uclass_find_device_by_name(UCLASS_ETH,
                                                       ethname[i], &dev[i]));
-               ut_assertok(device_remove(dev[i]));
+               ut_assertok(device_remove(dev[i], DM_REMOVE_NORMAL));
 
                /* Invalidate MAC address */
                strcpy(ethaddr[i], getenv(addrname[i]));