summaryrefslogtreecommitdiff
path: root/sys/dev/usb/usbdivar.h
diff options
context:
space:
mode:
authorMartin Pieuchot <mpi@cvs.openbsd.org>2014-07-09 18:15:05 +0000
committerMartin Pieuchot <mpi@cvs.openbsd.org>2014-07-09 18:15:05 +0000
commitdeea3ffc14d628daeda3e8274cc95747d41b39e9 (patch)
tree1b6bd271b44ba4e0889d4813e6258a59a375ea9a /sys/dev/usb/usbdivar.h
parentd3bfcabaffcca711f9965e0f19747f3b2f730054 (diff)
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);