diff options
Diffstat (limited to 'test/dm/of_platdata.c')
-rw-r--r-- | test/dm/of_platdata.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/dm/of_platdata.c b/test/dm/of_platdata.c index 7af798b8d3..a241c42793 100644 --- a/test/dm/of_platdata.c +++ b/test/dm/of_platdata.c @@ -150,7 +150,7 @@ static int dm_test_of_plat_dev(struct unit_test_state *uts) /* Skip this test if there is no platform data */ if (!CONFIG_IS_ENABLED(OF_PLATDATA_DRIVER_RT)) - return 0; + return -EAGAIN; /* Record the indexes that are found */ memset(found, '\0', sizeof(found)); |