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 71ebb36d88..c3e8922d64 100644 --- a/test/dm/core.c +++ b/test/dm/core.c @@ -154,7 +154,7 @@ static int dm_test_autobind_uclass_pdata_alloc(struct unit_test_state *uts) * Test if test uclass driver requires allocation for the uclass * platform data and then check the dev->uclass_platdata pointer. */ - ut_assert(uc->uc_drv->per_device_platdata_auto_alloc_size); + ut_assert(uc->uc_drv->per_device_platdata_auto); for (uclass_find_first_device(UCLASS_TEST, &dev); dev; |