From 74c6c20b93f0513a453c6544f8b98ad55cbdc741 Mon Sep 17 00:00:00 2001 From: thompsa Date: Tue, 23 Jun 2009 02:19:59 +0000 Subject: - Make struct usb_xfer opaque so that drivers can not access the internals - Reduce the number of headers needed for a usb driver, the common case is just usb.h and usbdi.h --- sys/dev/usb/usb_process.h | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'sys/dev/usb/usb_process.h') diff --git a/sys/dev/usb/usb_process.h b/sys/dev/usb/usb_process.h index d3cdd33..c717dc1 100644 --- a/sys/dev/usb/usb_process.h +++ b/sys/dev/usb/usb_process.h @@ -41,19 +41,6 @@ struct usb_proc_msg; -/* typedefs */ - -typedef void (usb_proc_callback_t)(struct usb_proc_msg *hdr); - -/* - * The following structure defines the USB process message header. - */ -struct usb_proc_msg { - TAILQ_ENTRY(usb_proc_msg) pm_qentry; - usb_proc_callback_t *pm_callback; - usb_size_t pm_num; -}; - /* * The following structure defines the USB process. */ -- cgit v1.1