[PATCH 1/3] USB speedtouch: turn on debugging if CONFIG_USB_DEBUG is set
From: Duncan Sands
Date: Tue Apr 13 2004 - 04:14:10 EST
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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/