aboutsummaryrefslogtreecommitdiff
path: root/test/dm/clk.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/dm/clk.c')
-rw-r--r--test/dm/clk.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/dm/clk.c b/test/dm/clk.c
index f301ecbb459..676ef217f09 100644
--- a/test/dm/clk.c
+++ b/test/dm/clk.c
@@ -24,6 +24,7 @@ static int dm_test_clk_base(struct unit_test_state *uts)
/* Get the same clk port in 2 different ways and compare */
ut_assertok(clk_get_by_index(dev, 1, &clk_method1));
ut_assertok(clk_get_by_index_nodev(dev_ofnode(dev), 1, &clk_method2));
+ ut_asserteq(clk_is_match(&clk_method1, &clk_method2), true);
ut_asserteq(clk_method1.id, clk_method2.id);
return 0;