aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/chipidea/Makefile
diff options
context:
space:
mode:
authorPeter Chen <peter.chen@nxp.com>2020-03-25 15:52:29 +0800
committerPeter Chen <peter.chen@nxp.com>2020-12-10 08:45:26 +0800
commitb4c5d446a655667fdb39c0bd2a90bcc08d26dab9 (patch)
treeb95404f4ab10379cb7ab2ecc3726f953ee81777d /drivers/usb/chipidea/Makefile
parentdoc: dt-binding: cdns,usb3: add wakeup-irq (diff)
downloadlinux-dev-b4c5d446a655667fdb39c0bd2a90bcc08d26dab9.tar.xz
linux-dev-b4c5d446a655667fdb39c0bd2a90bcc08d26dab9.zip
usb: chipidea: add tracepoint support for udc
Add basic tracepoint support for udc driver. Reviewed-by: Jun Li <jun.li@nxp.com> Signed-off-by: Peter Chen <peter.chen@nxp.com>
Diffstat (limited to 'drivers/usb/chipidea/Makefile')
-rw-r--r--drivers/usb/chipidea/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/usb/chipidea/Makefile b/drivers/usb/chipidea/Makefile
index fae779a23866..6f4a3deced35 100644
--- a/drivers/usb/chipidea/Makefile
+++ b/drivers/usb/chipidea/Makefile
@@ -1,8 +1,11 @@
# SPDX-License-Identifier: GPL-2.0
+
+# define_trace.h needs to know how to find our header
+CFLAGS_trace.o := -I$(src)
obj-$(CONFIG_USB_CHIPIDEA) += ci_hdrc.o
ci_hdrc-y := core.o otg.o debug.o ulpi.o
-ci_hdrc-$(CONFIG_USB_CHIPIDEA_UDC) += udc.o
+ci_hdrc-$(CONFIG_USB_CHIPIDEA_UDC) += udc.o trace.o
ci_hdrc-$(CONFIG_USB_CHIPIDEA_HOST) += host.o
ci_hdrc-$(CONFIG_USB_OTG_FSM) += otg_fsm.o