Messages in this thread Patch in this message | | | From | Duncan Sands <> | Subject | [PATCH 1/3] USB speedtouch: turn on debugging if CONFIG_USB_DEBUG is set | Date | Tue, 13 Apr 2004 11:12:04 +0200 |
| |
Hi Greg, this causes the speedtouch driver to output non-verbose debugging messages if the kernel was configured with CONFIG_USB_DEBUG. The patch is against your 2.6 kernel tree.
speedtch.c | 4 ++++ 1 files changed, 4 insertions(+)
diff -Nru a/drivers/usb/misc/speedtch.c b/drivers/usb/misc/speedtch.c --- a/drivers/usb/misc/speedtch.c Tue Apr 13 10:57:33 2004 +++ b/drivers/usb/misc/speedtch.c Tue Apr 13 10:57:33 2004 @@ -84,6 +84,10 @@ #define VERBOSE_DEBUG */ +#if !defined (DEBUG) && defined (CONFIG_USB_DEBUG) +# define DEBUG +#endif + #include <linux/usb.h> #ifdef DEBUG - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |