2004-04-13 09:12:20

by Duncan Sands

[permalink] [raw]
Subject: [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(+)


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


2004-04-14 17:05:07

by Greg KH

[permalink] [raw]
Subject: Re: [PATCH 1/3] USB speedtouch: turn on debugging if CONFIG_USB_DEBUG is set

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