Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit de948a74 authored by Felipe Balbi's avatar Felipe Balbi
Browse files

usb: dwc3: Makefile: fix link error on randconfig



If building a kernel without FTRACE but with TRACING, dwc3.ko fails to
link due to missing trace events. Fix this by using the correct
Kconfig symbol on Makefile.

Reported-by: default avatarRandy Dunlap <rdunlap@infradead.org>
Signed-off-by: default avatarFelipe Balbi <felipe.balbi@linux.intel.com>
parent 7642d838
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -6,7 +6,7 @@ obj-$(CONFIG_USB_DWC3) += dwc3.o


dwc3-y					:= core.o
dwc3-y					:= core.o


ifneq ($(CONFIG_FTRACE),)
ifneq ($(CONFIG_TRACING),)
	dwc3-y				+= trace.o
	dwc3-y				+= trace.o
endif
endif