diff options
author | thompsa <thompsa@FreeBSD.org> | 2009-06-15 22:38:05 +0000 |
---|---|---|
committer | thompsa <thompsa@FreeBSD.org> | 2009-06-15 22:38:05 +0000 |
commit | bb3fa9168b8e38b580a0c6e83ca5a3a2f8f2bcba (patch) | |
tree | f8efdb17f869e3d5f6292146c4bc31024ec968e5 /sys/dev/usb/serial | |
parent | 3e55479329bb79a78046777e9477fb6a7c7a07a2 (diff) | |
download | FreeBSD-src-bb3fa9168b8e38b580a0c6e83ca5a3a2f8f2bcba.zip FreeBSD-src-bb3fa9168b8e38b580a0c6e83ca5a3a2f8f2bcba.tar.gz |
Fix usb2_find_descriptor function name.
Diffstat (limited to 'sys/dev/usb/serial')
-rw-r--r-- | sys/dev/usb/serial/umodem.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/usb/serial/umodem.c b/sys/dev/usb/serial/umodem.c index 13cdeea..e409d07 100644 --- a/sys/dev/usb/serial/umodem.c +++ b/sys/dev/usb/serial/umodem.c @@ -289,7 +289,7 @@ umodem_attach(device_t dev) if ((cmd == NULL) || (cmd->bLength < sizeof(*cmd))) { - cud = usb2_find_descriptor(uaa->device, NULL, + cud = usbd_find_descriptor(uaa->device, NULL, uaa->info.bIfaceIndex, UDESC_CS_INTERFACE, 0 - 1, UDESCSUB_CDC_UNION, 0 - 1); @@ -746,7 +746,7 @@ tr_setup: static void * umodem_get_desc(struct usb_attach_arg *uaa, uint8_t type, uint8_t subtype) { - return (usb2_find_descriptor(uaa->device, NULL, uaa->info.bIfaceIndex, + return (usbd_find_descriptor(uaa->device, NULL, uaa->info.bIfaceIndex, type, 0 - 1, subtype, 0 - 1)); } |