summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/usb_debug.h
diff options
context:
space:
mode:
authorthompsa <thompsa@FreeBSD.org>2009-06-23 02:19:59 +0000
committerthompsa <thompsa@FreeBSD.org>2009-06-23 02:19:59 +0000
commit74c6c20b93f0513a453c6544f8b98ad55cbdc741 (patch)
treeee5c9acfe716a9835136731811e9e1a68751e278 /sys/dev/usb/usb_debug.h
parent52922c0742bc8545734b2903d6407b99664e84ed (diff)
downloadFreeBSD-src-74c6c20b93f0513a453c6544f8b98ad55cbdc741.zip
FreeBSD-src-74c6c20b93f0513a453c6544f8b98ad55cbdc741.tar.gz
- 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
Diffstat (limited to 'sys/dev/usb/usb_debug.h')
-rw-r--r--sys/dev/usb/usb_debug.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/sys/dev/usb/usb_debug.h b/sys/dev/usb/usb_debug.h
index f49f24f..dfe2edf 100644
--- a/sys/dev/usb/usb_debug.h
+++ b/sys/dev/usb/usb_debug.h
@@ -29,9 +29,6 @@
#ifndef _USB_DEBUG_H_
#define _USB_DEBUG_H_
-/* Declare parent SYSCTL USB node. */
-SYSCTL_DECL(_hw_usb);
-
/* Declare global USB debug variable. */
extern int usb_debug;
OpenPOWER on IntegriCloud