summaryrefslogtreecommitdiff
path: root/drivers/usb/host/uhci-debug.c
diff options
context:
space:
mode:
authorOliver Neukum <oneukum@suse.de>2013-11-18 16:23:16 +0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-12-03 22:34:33 +0400
commit1c20163d30db28552a341d5e0d6c007d4c8dc8be (patch)
tree6ebdebef656582d9351d3cab0b8ea21b733ad68b /drivers/usb/host/uhci-debug.c
parent0b5fa3b21fac848de0df45c5f5e7f2086ee8e7f2 (diff)
downloadlinux-1c20163d30db28552a341d5e0d6c007d4c8dc8be.tar.xz
usb: kill DEBUG compile option
In the drivers that no longer need it, it is removed. It is removed from the Makefile. Drivers not fully converted to dynamic debug have it shifted down into the individual drivers. Signed-off-by: Oliver Neukum <oneukum@suse.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/host/uhci-debug.c')
-rw-r--r--drivers/usb/host/uhci-debug.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/host/uhci-debug.c b/drivers/usb/host/uhci-debug.c
index 3989f0ad0539..1b28a000d5c6 100644
--- a/drivers/usb/host/uhci-debug.c
+++ b/drivers/usb/host/uhci-debug.c
@@ -20,7 +20,7 @@
static struct dentry *uhci_debugfs_root;
-#if defined(DEBUG) || defined(CONFIG_DYNAMIC_DEBUG)
+#ifdef CONFIG_DYNAMIC_DEBUG
/* Handle REALLY large printks so we don't overflow buffers */
static void lprintk(char *buf)
@@ -635,7 +635,7 @@ static const struct file_operations uhci_debug_operations = {
#endif /* CONFIG_DEBUG_FS */
-#else /* DEBUG || CONFIG_DYNAMIC_DEBUG*/
+#else /* CONFIG_DYNAMIC_DEBUG*/
static inline void lprintk(char *buf)
{}