Skip to contentSkip to conversation

USB speedtouch: turn on debugging if CONFIG_USB_DEBUG is set

PATCH Applied Duncan Sands 2 participants 2 messages Apr 13, 2004 – Apr 14, 2004 USB

lore
Share & tools
lore
#0 lore raw

PATCH 1/3 USB speedtouch: turn on debugging if CONFIG_USB_DEBUG is set

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(+)
drivers/usb/misc/speedtch.c +4 -0
diff -Nru a/drivers/usb/misc/speedtch.c b/drivers/usb/misc/speedtch.c
@@ -84,6 +84,10 @@
 #define VERBOSE_DEBUG
 */
 
+#if !defined (DEBUG) && defined (CONFIG_USB_DEBUG)
+#	define DEBUG
+#endif
+
 #include <linux/usb.h>
 
 #ifdef DEBUG
Applied
#1 lore raw
Quoted 3 lines · Duncan Sands

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.

Applied, thanks.

greg k-h