summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb
diff options
context:
space:
mode:
authoriedowse <iedowse@FreeBSD.org>2004-11-12 03:24:12 +0000
committeriedowse <iedowse@FreeBSD.org>2004-11-12 03:24:12 +0000
commit1db017cf8c8ba08c9818c167cdb032b4658f75cb (patch)
tree739c211160304abf1fdfebc9c879af1cf56a9e36 /sys/dev/usb
parentb431db5c747d7016eb75c02f79ae4191c5b53ff2 (diff)
downloadFreeBSD-src-1db017cf8c8ba08c9818c167cdb032b4658f75cb.zip
FreeBSD-src-1db017cf8c8ba08c9818c167cdb032b4658f75cb.tar.gz
Put back usb_uncallout_drain(), as it is now also used by umass.c.
Diffstat (limited to 'sys/dev/usb')
-rw-r--r--sys/dev/usb/usb_port.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/usb/usb_port.h b/sys/dev/usb/usb_port.h
index 972c4e9..38dd65e 100644
--- a/sys/dev/usb/usb_port.h
+++ b/sys/dev/usb/usb_port.h
@@ -388,6 +388,7 @@ typedef struct callout usb_callout_t;
#define usb_callout_init(h) callout_init(&(h), 0)
#define usb_callout(h, t, f, d) callout_reset(&(h), (t), (f), (d))
#define usb_uncallout(h, f, d) callout_stop(&(h))
+#define usb_uncallout_drain(h, f, d) callout_drain(&(h))
#else
typedef struct proc *usb_proc_ptr;
OpenPOWER on IntegriCloud