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
On Tue, Apr 13, 2004 at 11:12:04AM +0200, Duncan Sands wrote:
> 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