diff options
author | Peter Chen | 2015-10-23 04:33:58 +0200 |
---|---|---|
committer | Peter Chen | 2015-12-24 07:15:26 +0100 |
commit | 9d8c850d02b01f3e0157a8f9859fe3f04cab68fe (patch) | |
tree | 8973c4e998ce6d32086e7678c4c0e11517916a77 /drivers/usb/chipidea/Makefile | |
parent | usb: chipidea: udc: improve error handling on _hardware_enqueue (diff) | |
download | kernel-qcow2-linux-9d8c850d02b01f3e0157a8f9859fe3f04cab68fe.tar.gz kernel-qcow2-linux-9d8c850d02b01f3e0157a8f9859fe3f04cab68fe.tar.xz kernel-qcow2-linux-9d8c850d02b01f3e0157a8f9859fe3f04cab68fe.zip |
usb: chipidea: support debugfs without CONFIG_USB_CHIPIDEA_DEBUG
Since we need to mount debugfs to show/store the things we
want to debug, it is duplicated to add another configuration
to enable it. Meanwhile, with CONFIG_USB_CHIPIDEA_DEBUG,
we can't support chipidea debugfs at runtime.
Signed-off-by: Peter Chen <peter.chen@freescale.com>
Cc: Jun Li <jun.li@freescale.com>
Diffstat (limited to 'drivers/usb/chipidea/Makefile')
-rw-r--r-- | drivers/usb/chipidea/Makefile | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/usb/chipidea/Makefile b/drivers/usb/chipidea/Makefile index 4decb12f2578..c437d5f1a0d5 100644 --- a/drivers/usb/chipidea/Makefile +++ b/drivers/usb/chipidea/Makefile @@ -2,10 +2,9 @@ ccflags-$(CONFIG_USB_CHIPIDEA_DEBUG) := -DDEBUG obj-$(CONFIG_USB_CHIPIDEA) += ci_hdrc.o -ci_hdrc-y := core.o otg.o +ci_hdrc-y := core.o otg.o debug.o ci_hdrc-$(CONFIG_USB_CHIPIDEA_UDC) += udc.o ci_hdrc-$(CONFIG_USB_CHIPIDEA_HOST) += host.o -ci_hdrc-$(CONFIG_USB_CHIPIDEA_DEBUG) += debug.o ci_hdrc-$(CONFIG_USB_OTG_FSM) += otg_fsm.o # Glue/Bridge layers go here |