]> git.neil.brown.name Git - history.git/commitdiff
[PATCH] USB speedtouch: turn on debugging if CONFIG_USB_DEBUG is set
authorDuncan Sands <baldrick@free.fr>
Wed, 14 Apr 2004 02:49:54 +0000 (19:49 -0700)
committerGreg Kroah-Hartman <greg@kroah.com>
Wed, 14 Apr 2004 02:49:54 +0000 (19:49 -0700)
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.

drivers/usb/misc/speedtch.c

index 9ff815a418f64e29ab3c71a876d2bd7dcbccf9cb..d8b36ba87f5e95d00246aaee46aee0be538a32bd 100644 (file)
 #define VERBOSE_DEBUG
 */
 
+#if !defined (DEBUG) && defined (CONFIG_USB_DEBUG)
+#      define DEBUG
+#endif
+
 #include <linux/usb.h>
 
 #ifdef DEBUG