From bec6d0ea5a8d928610cc8308ff1bb023ca04bb42 Mon Sep 17 00:00:00 2001 From: Warner Losh Date: Thu, 20 Jan 2005 05:03:28 +0000 Subject: [PATCH] Although USBVERBOSE was an option in the config system, usb_subr.c failed to recognize that. Include opt_usb.h to pick it up, rather than usb_port.h. --- sys/dev/usb/usb_port.h | 2 -- sys/dev/usb/usb_subr.c | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/dev/usb/usb_port.h b/sys/dev/usb/usb_port.h index 270a2ad1262..dc2c64888f0 100644 --- a/sys/dev/usb/usb_port.h +++ b/sys/dev/usb/usb_port.h @@ -344,8 +344,6 @@ MALLOC_DECLARE(M_USBHC); #endif -#define USBVERBOSE - /* We don't use the soft interrupt code in FreeBSD. */ #if 0 #define USB_USE_SOFTINTR diff --git a/sys/dev/usb/usb_subr.c b/sys/dev/usb/usb_subr.c index e6fa74ac1dd..26c10545e92 100644 --- a/sys/dev/usb/usb_subr.c +++ b/sys/dev/usb/usb_subr.c @@ -49,6 +49,8 @@ __FBSDID("$FreeBSD$"); * POSSIBILITY OF SUCH DAMAGE. */ +#include "opt_usb.h" + #include #include #include