summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2007-06-18 22:28:32 +0000
committerimp <imp@FreeBSD.org>2007-06-18 22:28:32 +0000
commit024c0f62c80e56346880276a4e3b438f9fd3cf3e (patch)
tree89529f2b5840cba29d452f496dc22b8a8212a6ca
parent458cfea006ae9d1ca7f4da4d04c211eecee3079b (diff)
downloadFreeBSD-src-024c0f62c80e56346880276a4e3b438f9fd3cf3e.zip
FreeBSD-src-024c0f62c80e56346880276a4e3b438f9fd3cf3e.tar.gz
Expand usb_callout_init
-rw-r--r--sys/dev/usb/usbdi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/usb/usbdi.c b/sys/dev/usb/usbdi.c
index eb9ad33..892192c 100644
--- a/sys/dev/usb/usbdi.c
+++ b/sys/dev/usb/usbdi.c
@@ -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);
}
OpenPOWER on IntegriCloud