提交 9bab24af 编写于 作者: O Oliver Neukum 提交者: Greg Kroah-Hartman

uhci: compile debugfs conditional on CONFIG_DYNAMIC_DEBUG || DEBUG

This makes sure the header files are all there
Signed-off-by: NOliver Neukum <oneukum@suse.de>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 cadb3756
......@@ -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)
{}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册