diff options
Diffstat (limited to 'test/dm/core.c')
-rw-r--r-- | test/dm/core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/dm/core.c b/test/dm/core.c index 82b7a668dd..1f5ca570dc 100644 --- a/test/dm/core.c +++ b/test/dm/core.c @@ -1052,7 +1052,7 @@ static int dm_test_inactive_child(struct unit_test_state *uts) */ ut_asserteq(-ENODEV, device_find_first_inactive_child(parent, UCLASS_TEST, &dev1)); - ut_assertok(device_bind(parent, DM_GET_DRIVER(test_drv), + ut_assertok(device_bind(parent, DM_DRIVER_GET(test_drv), "test_child", 0, ofnode_null(), &dev1)); ut_assertok(device_find_first_inactive_child(parent, UCLASS_TEST, |