diff options
author | Richard Zhao <richard.zhao@freescale.com> | 2012-09-12 14:58:10 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-09-12 11:20:38 -0700 |
commit | 388ed487234429652c1cdb797ad45cb0967b2343 (patch) | |
tree | 9ff6427a24f9e9ad363f671a5f0ca41ef0b5ea23 /drivers/usb/chipidea | |
parent | 8c4fc031954b4eb72daf13d3c907a985a3eee208 (diff) | |
download | op-kernel-dev-388ed487234429652c1cdb797ad45cb0967b2343.zip op-kernel-dev-388ed487234429652c1cdb797ad45cb0967b2343.tar.gz |
USB: chipidea: add -DDEBUG if debugging is enabled
This patch turns on debugging output if CONFIG_USB_CHIPIDEA_DEBUG is
enabled.
Signed-off-by: Richard Zhao <richard.zhao@freescale.com>
Tested-by: Michael Grzeschik <m.grzeschik@pengutronix.de>
Tested-by: Marc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/chipidea')
-rw-r--r-- | drivers/usb/chipidea/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/usb/chipidea/Makefile b/drivers/usb/chipidea/Makefile index 57e510f..d92ca32 100644 --- a/drivers/usb/chipidea/Makefile +++ b/drivers/usb/chipidea/Makefile @@ -1,3 +1,5 @@ +ccflags-$(CONFIG_USB_CHIPIDEA_DEBUG) := -DDEBUG + obj-$(CONFIG_USB_CHIPIDEA) += ci_hdrc.o ci_hdrc-y := core.o |