summaryrefslogtreecommitdiff
path: root/test/dm/clk.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2020-07-28 19:41:12 -0600
committerTom Rini <trini@konsulko.com>2020-08-07 22:31:32 -0400
commite180c2b129016baf21086eca73767844e7eff185 (patch)
tree9024230dcb1a4f3480cc18a4bed4e965ff406d51 /test/dm/clk.c
parentbd34715599c17e0d3f09af1cdfba8af120bc8602 (diff)
dm: Rename DM test flags to make them more generic
The test flags used by driver model are currently not available to other tests. Rather than creating two sets of flags, make these flags generic by changing the DM_ prefix to UT_ and moving them to the test.h header. This will allow adding other test flags without confusion. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'test/dm/clk.c')
-rw-r--r--test/dm/clk.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/dm/clk.c b/test/dm/clk.c
index 7a39760f25..edca3b49f6 100644
--- a/test/dm/clk.c
+++ b/test/dm/clk.c
@@ -34,7 +34,7 @@ static int dm_test_clk_base(struct unit_test_state *uts)
return 0;
}
-DM_TEST(dm_test_clk_base, DM_TESTF_SCAN_FDT);
+DM_TEST(dm_test_clk_base, UT_TESTF_SCAN_FDT);
static int dm_test_clk(struct unit_test_state *uts)
{
@@ -161,7 +161,7 @@ static int dm_test_clk(struct unit_test_state *uts)
SANDBOX_CLK_ID_UART1));
return 0;
}
-DM_TEST(dm_test_clk, DM_TESTF_SCAN_FDT);
+DM_TEST(dm_test_clk, UT_TESTF_SCAN_FDT);
static int dm_test_clk_bulk(struct unit_test_state *uts)
{
@@ -199,4 +199,4 @@ static int dm_test_clk_bulk(struct unit_test_state *uts)
return 0;
}
-DM_TEST(dm_test_clk_bulk, DM_TESTF_SCAN_FDT);
+DM_TEST(dm_test_clk_bulk, UT_TESTF_SCAN_FDT);