Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9bab24af authored by Oliver Neukum's avatar Oliver Neukum Committed by Greg Kroah-Hartman
Browse files

uhci: compile debugfs conditional on CONFIG_DYNAMIC_DEBUG || DEBUG



This makes sure the header files are all there

Signed-off-by: default avatarOliver Neukum <oneukum@suse.de>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent cadb3756
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -20,7 +20,7 @@

static struct dentry *uhci_debugfs_root;

#ifdef DEBUG
#if defined(DEBUG) || defined(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 */
#else	/* DEBUG || CONFIG_DYNAMIC_DEBUG*/

static inline void lprintk(char *buf)
{}