diff options
Diffstat (limited to 'drivers/usb/usb-debug.c')
-rw-r--r-- | drivers/usb/usb-debug.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/drivers/usb/usb-debug.c b/drivers/usb/usb-debug.c index bc04d1fca..e8da9e376 100644 --- a/drivers/usb/usb-debug.c +++ b/drivers/usb/usb-debug.c @@ -4,11 +4,16 @@ * I just want these out of the way where they aren't in your * face, but so that you can still use them.. */ +#include <linux/config.h> #include <linux/version.h> #include <linux/kernel.h> #include <linux/mm.h> #include <linux/malloc.h> -#define DEBUG +#ifdef CONFIG_USB_DEBUG + #define DEBUG +#else + #undef DEBUG +#endif #include <linux/usb.h> static void usb_show_endpoint(struct usb_endpoint_descriptor *endpoint) |