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_error.c | 24 +++++++++++++++++++++--- 1 file changed, 21 insertions(+), 3 deletions(-) (limited to 'sys/dev/usb/usb_error.c') diff --git a/sys/dev/usb/usb_error.c b/sys/dev/usb/usb_error.c index 68a811f..a639315 100644 --- a/sys/dev/usb/usb_error.c +++ b/sys/dev/usb/usb_error.c @@ -24,10 +24,28 @@ * SUCH DAMAGE. */ -#include -#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include -#include +#include +#include static const char* usb_errstr_table[USB_ERR_MAX] = { [USB_ERR_NORMAL_COMPLETION] = "USB_ERR_NORMAL_COMPLETION", -- cgit v1.1