diff options
author | Peng Fan <peng.fan@nxp.com> | 2019-05-22 10:08:12 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2019-07-13 04:07:59 +0300 |
commit | 819ac50d2a7a05eab65b45c1c18fefedbef51e67 (patch) | |
tree | 261d3470e4d3bdb78351f0c107bc9d2ebd6671fd /test/dm/usb.c | |
parent | 38ee9dfea907987545bda29e975d0e11e1356d27 (diff) | |
download | u-boot-819ac50d2a7a05eab65b45c1c18fefedbef51e67.tar.xz |
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>
Diffstat (limited to 'test/dm/usb.c')
-rw-r--r-- | test/dm/usb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/dm/usb.c b/test/dm/usb.c index 3493617544..ef454b0ae5 100644 --- a/test/dm/usb.c +++ b/test/dm/usb.c @@ -125,7 +125,7 @@ static int dm_test_usb_keyb(struct unit_test_state *uts) /* Initially there should be no characters */ 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)); /* |