summaryrefslogtreecommitdiff
path: root/test/dm/phy.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/dm/phy.c')
-rw-r--r--test/dm/phy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/dm/phy.c b/test/dm/phy.c
index 75d05a14c0..ecbd47bf12 100644
--- a/test/dm/phy.c
+++ b/test/dm/phy.c
@@ -47,7 +47,7 @@ static int dm_test_phy_base(struct unit_test_state *uts)
ut_assert(phy2.dev != phy3.dev);
/* Try to get a non-existing phy */
- ut_asserteq(-ENODEV, uclass_get_device(UCLASS_PHY, 3, &dev));
+ ut_asserteq(-ENODEV, uclass_get_device(UCLASS_PHY, 4, &dev));
ut_asserteq(-ENODATA, generic_phy_get_by_name(parent,
"phy_not_existing", &phy1_method1));