summaryrefslogtreecommitdiff
path: root/test/dm/cpu.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/dm/cpu.c')
-rw-r--r--test/dm/cpu.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/dm/cpu.c b/test/dm/cpu.c
index 5734cd0a92d..9b2f90ee1e5 100644
--- a/test/dm/cpu.c
+++ b/test/dm/cpu.c
@@ -4,7 +4,6 @@
* Mario Six, Guntermann & Drunck GmbH, mario.six@gdsys.cc
*/
-#include <common.h>
#include <dm.h>
#include <log.h>
#include <dm/test.h>
@@ -44,7 +43,8 @@ static int dm_test_cpu(struct unit_test_state *uts)
ut_assertok(cpu_get_vendor(dev, text, sizeof(text)));
ut_assertok(strcmp(text, "Languid Example Garbage Inc."));
+ ut_assertok(cpu_release_core(dev, 0));
+
return 0;
}
-
-DM_TEST(dm_test_cpu, UT_TESTF_SCAN_FDT);
+DM_TEST(dm_test_cpu, UTF_SCAN_FDT);