summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/usbdivar.h
diff options
context:
space:
mode:
authormpi <mpi@openbsd.org>2014-07-09 18:15:04 +0000
committermpi <mpi@openbsd.org>2014-07-09 18:15:04 +0000
commit769226aedb150205bf26e4924b82e044a6ef39e8 (patch)
tree2f0c1c8750c31c2ccbcb8913352a9172621182a8 /sys/dev/usb/usbdivar.h
parentBetter workaround for OS X sigaltstack() bug (diff)
downloadwireguard-openbsd-769226aedb150205bf26e4924b82e044a6ef39e8.tar.xz
wireguard-openbsd-769226aedb150205bf26e4924b82e044a6ef39e8.zip
autoconf(9) is your friend and it knows you more than you think. It
even knows your children! So let him handle the seperation correctly. Do not rewrite your own custom config_detach_children(9) and as a bonus start removing the usbd_port tentacles from the stack. ok pirofti@, yuo@, miod@, deraadt@
Diffstat (limited to 'sys/dev/usb/usbdivar.h')
-rw-r--r--sys/dev/usb/usbdivar.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/usb/usbdivar.h b/sys/dev/usb/usbdivar.h
index 18ae5067776..c8b860a5846 100644
--- a/sys/dev/usb/usbdivar.h
+++ b/sys/dev/usb/usbdivar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: usbdivar.h,v 1.60 2014/07/09 15:47:54 mpi Exp $ */
+/* $OpenBSD: usbdivar.h,v 1.61 2014/07/09 18:15:04 mpi Exp $ */
/* $NetBSD: usbdivar.h,v 1.70 2002/07/11 21:14:36 augustss Exp $ */
/* $FreeBSD: src/sys/dev/usb/usbdivar.h,v 1.11 1999/11/17 22:33:51 n_hibma Exp $ */
@@ -245,7 +245,7 @@ usbd_status usbd_fill_iface_data(struct usbd_device *, int, int);
usbd_status usb_insert_transfer(struct usbd_xfer *);
void usb_transfer_complete(struct usbd_xfer *);
-void usb_disconnect_port(struct usbd_port *, struct device *);
+int usbd_detach(struct usbd_device *, struct device *);
/* Routines from usb.c */
void usb_needs_explore(struct usbd_device *, int);