diff options
author | Andrew Thompson <thompsa@FreeBSD.org> | 2009-06-23 02:19:59 +0000 |
---|---|---|
committer | Andrew Thompson <thompsa@FreeBSD.org> | 2009-06-23 02:19:59 +0000 |
commit | ed6d949afdbe3f25e6ef640881d8a0a72d7b7aa8 (patch) | |
tree | ee5c9acfe716a9835136731811e9e1a68751e278 /lib/libusb/libusb20_ugen20.c | |
parent | 8c8fff3177f8d9611f191878b3864dc8ca3e5965 (diff) | |
download | src-ed6d949afdbe3f25e6ef640881d8a0a72d7b7aa8.tar.gz src-ed6d949afdbe3f25e6ef640881d8a0a72d7b7aa8.zip |
- 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
Notes
Notes:
svn path=/head/; revision=194677
Diffstat (limited to 'lib/libusb/libusb20_ugen20.c')
-rw-r--r-- | lib/libusb/libusb20_ugen20.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/libusb/libusb20_ugen20.c b/lib/libusb/libusb20_ugen20.c index f130b1f86dbc..0dee7935b7a0 100644 --- a/lib/libusb/libusb20_ugen20.c +++ b/lib/libusb/libusb20_ugen20.c @@ -40,10 +40,8 @@ #include "libusb20_int.h" #include <dev/usb/usb.h> +#include <dev/usb/usbdi.h> #include <dev/usb/usb_ioctl.h> -#include <dev/usb/usb_mfunc.h> -#include <dev/usb/usb_error.h> -#include <dev/usb/usb_revision.h> static libusb20_init_backend_t ugen20_init_backend; static libusb20_open_device_t ugen20_open_device; |