summaryrefslogtreecommitdiff
path: root/drivers/staging/usbip/usbip_common.h
diff options
context:
space:
mode:
authormatt mooney <mfmooney@gmail.com>2011-05-11 01:54:13 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2011-05-11 14:06:51 -0700
commit981f30cc9b93fbf1f722f31276ddb19b95a30ddd (patch)
tree6695074aa98b1d4f88c426329d6f455ce2c9f7b8 /drivers/staging/usbip/usbip_common.h
parent0c4ac072b3f5e1287a11f109ca0cc9c909d74919 (diff)
staging: usbip: change debug configuration option
Change CONFIG_USB_IP_DEBUG_ENABLE to CONFIG_USB_IP_DEBUG, and move ccflags- to the head of the makefile. Signed-off-by: matt mooney <mfm@muteddisk.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/usbip/usbip_common.h')
-rw-r--r--drivers/staging/usbip/usbip_common.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/staging/usbip/usbip_common.h b/drivers/staging/usbip/usbip_common.h
index 0b61d710059a..c84bed9a044c 100644
--- a/drivers/staging/usbip/usbip_common.h
+++ b/drivers/staging/usbip/usbip_common.h
@@ -27,11 +27,11 @@
#include <net/sock.h>
/**
- * usbip_udbg - print debug messages if CONFIG_USB_IP_DEBUG_ENABLE is defined
+ * usbip_udbg - print debug messages if CONFIG_USB_IP_DEBUG is defined
* @fmt:
* @args:
*/
-#ifdef CONFIG_USB_IP_DEBUG_ENABLE
+#ifdef CONFIG_USB_IP_DEBUG
#define usbip_udbg(fmt, args...) \
do { \
@@ -40,11 +40,11 @@
__FILE__, __LINE__, __func__, ##args); \
} while (0)
-#else /* CONFIG_USB_IP_DEBUG_ENABLE */
+#else
#define usbip_udbg(fmt, args...) do { } while (0)
-#endif /* CONFIG_USB_IP_DEBUG_ENABLE */
+#endif /* CONFIG_USB_IP_DEBUG */
enum {
usbip_debug_xmit = (1 << 0),