Skip to content

Commit

Permalink
USB: chipidea: add -DDEBUG if debugging is enabled
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Richard Zhao authored and Greg Kroah-Hartman committed Sep 12, 2012
1 parent 8c4fc03 commit 388ed48
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/usb/chipidea/Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
ccflags-$(CONFIG_USB_CHIPIDEA_DEBUG) := -DDEBUG

obj-$(CONFIG_USB_CHIPIDEA) += ci_hdrc.o

ci_hdrc-y := core.o
Expand Down

0 comments on commit 388ed48

Please sign in to comment.