Hi,

as the conversion to dynamic debugging has progressed well,
I would like to ask whether -DDEBUG can be removed from
the Makefile without replacement, or, failing that, shifted
down to the individual drivers. Dynamic debugging should be
off by default. I'd be happy to male a patch.

        Regards
                Oliver

commit f2577039517e85a99cb54d9267cd7997530d74b4
Author: Oliver Neukum <oneu...@suse.de>
Date:   Thu Nov 7 16:28:33 2013 +0100

    USB: remove DEBUG for drivers based on the master config option
    
    Dynamic debugging should be off by default. If drivers need the
    DEBUG option they should have individual selections for it.
    
    Signed-off-by: Oliver Neukum <oneu...@suse.de>

diff --git a/drivers/usb/host/Makefile b/drivers/usb/host/Makefile
index 01e879e..7530468 100644
--- a/drivers/usb/host/Makefile
+++ b/drivers/usb/host/Makefile
@@ -2,8 +2,6 @@
 # Makefile for USB Host Controller Drivers
 #
 
-ccflags-$(CONFIG_USB_DEBUG) := -DDEBUG
-
 # tell define_trace.h where to find the xhci trace header
 CFLAGS_xhci-trace.o := -I$(src)

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to