From: Richard Zhao Date: Wed, 12 Sep 2012 11:58:10 +0000 (+0300) Subject: USB: chipidea: add -DDEBUG if debugging is enabled X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=388ed487234429652c1cdb797ad45cb0967b2343;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 Tested-by: Michael Grzeschik Tested-by: Marc Kleine-Budde Signed-off-by: Alexander Shishkin Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/usb/chipidea/Makefile b/drivers/usb/chipidea/Makefile index 57e510f6c245..d92ca325b104 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