diff options
author | Oliver Neukum <oneukum@suse.de> | 2013-11-18 07:23:10 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-12-03 13:31:20 -0500 |
commit | 9bab24afba2eb663efbd7f681731f8f49d42c4e8 (patch) | |
tree | 3d63203faa7aac904c8084313bcc4087d22a9147 /drivers/usb/host/uhci-debug.c | |
parent | cadb37569871018600531ee4f2bb3da3c746bd91 (diff) |
uhci: compile debugfs conditional on CONFIG_DYNAMIC_DEBUG || DEBUG
This makes sure the header files are all there
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.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/host/uhci-debug.c b/drivers/usb/host/uhci-debug.c index 8e239cdd95d5..3989f0ad0539 100644 --- a/drivers/usb/host/uhci-debug.c +++ b/drivers/usb/host/uhci-debug.c | |||
@@ -20,7 +20,7 @@ | |||
20 | 20 | ||
21 | static struct dentry *uhci_debugfs_root; | 21 | static struct dentry *uhci_debugfs_root; |
22 | 22 | ||
23 | #ifdef DEBUG | 23 | #if defined(DEBUG) || defined(CONFIG_DYNAMIC_DEBUG) |
24 | 24 | ||
25 | /* Handle REALLY large printks so we don't overflow buffers */ | 25 | /* Handle REALLY large printks so we don't overflow buffers */ |
26 | static void lprintk(char *buf) | 26 | static void lprintk(char *buf) |
@@ -635,7 +635,7 @@ static const struct file_operations uhci_debug_operations = { | |||
635 | 635 | ||
636 | #endif /* CONFIG_DEBUG_FS */ | 636 | #endif /* CONFIG_DEBUG_FS */ |
637 | 637 | ||
638 | #else /* DEBUG */ | 638 | #else /* DEBUG || CONFIG_DYNAMIC_DEBUG*/ |
639 | 639 | ||
640 | static inline void lprintk(char *buf) | 640 | static inline void lprintk(char *buf) |
641 | {} | 641 | {} |