Remove usb_port.h from usb.h, except for one or two useful things that

don't belong there (these moved into usb.h).
This commit is contained in:
Warner Losh 2007-06-18 22:30:53 +00:00
parent bd6bb69705
commit 34f7cf9af5
2 changed files with 4 additions and 6 deletions

View file

@ -45,11 +45,13 @@
#include <sys/types.h>
#include <sys/time.h>
#include <dev/usb/usb_port.h>
#if defined(_KERNEL)
#include "opt_usb.h"
#ifdef SYSCTL_DECL
SYSCTL_DECL(_hw_usb);
#endif
#include <sys/malloc.h>
MALLOC_DECLARE(M_USB);

View file

@ -132,8 +132,4 @@ __CONCAT(dname,_detach)(device_t self)
*/
#define logprintf printf
#ifdef SYSCTL_DECL
SYSCTL_DECL(_hw_usb);
#endif
#endif /* _USB_PORT_H */