Expand usb_callout_init

This commit is contained in:
Warner Losh 2007-06-18 22:28:32 +00:00
parent 70f16d924f
commit 70c1d26317
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=170938

View File

@ -514,7 +514,7 @@ usbd_alloc_xfer(usbd_device_handle dev)
if (xfer == NULL)
return (NULL);
xfer->device = dev;
usb_callout_init(xfer->timeout_handle);
callout_init(&xfer->timeout_handle, 0);
DPRINTFN(5,("usbd_alloc_xfer() = %p\n", xfer));
return (xfer);
}