mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-06-29 01:51:55 +00:00
test: dm: usb: use the real device name
"keyb" is not the real device name, "keyb@3" is. Signed-off-by: Peng Fan <peng.fan@nxp.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
This commit is contained in:
parent
38ee9dfea9
commit
819ac50d2a
1 changed files with 1 additions and 1 deletions
|
@ -125,7 +125,7 @@ static int dm_test_usb_keyb(struct unit_test_state *uts)
|
||||||
/* Initially there should be no characters */
|
/* Initially there should be no characters */
|
||||||
ut_asserteq(0, tstc());
|
ut_asserteq(0, tstc());
|
||||||
|
|
||||||
ut_assertok(uclass_get_device_by_name(UCLASS_USB_EMUL, "keyb",
|
ut_assertok(uclass_get_device_by_name(UCLASS_USB_EMUL, "keyb@3",
|
||||||
&dev));
|
&dev));
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue