diff options
Diffstat (limited to 'test')
-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 f2b45b9a86..0f89c7a7da 100644 --- a/test/dm/of_platdata.c +++ b/test/dm/of_platdata.c @@ -147,7 +147,7 @@ static int dm_test_of_plat_dev(struct unit_test_state *uts) uint i; /* Skip this test if there is no platform data */ - if (CONFIG_IS_ENABLED(OF_PLATDATA_INST)) + if (!CONFIG_IS_ENABLED(OF_PLATDATA_DRIVER_RT)) return 0; /* Record the indexes that are found */ |