diff options
| author | Warner Losh <imp@FreeBSD.org> | 2007-06-14 15:09:21 +0000 |
|---|---|---|
| committer | Warner Losh <imp@FreeBSD.org> | 2007-06-14 15:09:21 +0000 |
| commit | 058cc61a3ef6bb26bc6d9a6b8796a0b46faa5e4b (patch) | |
| tree | 09df2929bdd5cfb540233dab2b19644739f80edc /sys/dev/usb/usb.h | |
| parent | 7a855803b9e47b44443361253da7ecbb9a16eaf5 (diff) | |
Notes
Diffstat (limited to 'sys/dev/usb/usb.h')
| -rw-r--r-- | sys/dev/usb/usb.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/sys/dev/usb/usb.h b/sys/dev/usb/usb.h index 2deae80c1998..24c54e99863d 100644 --- a/sys/dev/usb/usb.h +++ b/sys/dev/usb/usb.h @@ -45,16 +45,15 @@ #include <sys/types.h> #include <sys/time.h> -#if defined(_KERNEL) -#if 1 #include <dev/usb/usb_port.h> -#else +#if defined(_KERNEL) +#include "opt_usb.h" + #include <sys/malloc.h> MALLOC_DECLARE(M_USB); MALLOC_DECLARE(M_USBDEV); MALLOC_DECLARE(M_USBHC); -#endif #endif /* _KERNEL */ /* These two defines are used by usbd to autoload the usb kld */ |
