[PATCH] USB: hcd uses EXTRA_CFLAGS for -DDEBUG

This modifies the HCD builds to automatically "-DDEBUG" if
CONFIG_USB_DEBUG is selected.  It's just a minor source code cleanup,
guaranteeing consistency.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
这个提交包含在:
David Brownell
2005-11-07 20:45:20 -08:00
提交者 Greg Kroah-Hartman
父节点 704aa0b7a9
当前提交 c9a50cc931
修改 7 个文件,包含 7 行新增34 行删除

查看文件

@@ -32,13 +32,6 @@
#undef PACKET_TRACE
#include <linux/config.h>
#ifdef CONFIG_USB_DEBUG
# define DEBUG
#else
# undef DEBUG
#endif
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/kernel.h>