mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00
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: Randy Dunlap <rdunlap@infradead.org> Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
This commit is contained in:
parent
7642d8386a
commit
de948a74ad
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@ obj-$(CONFIG_USB_DWC3) += dwc3.o
|
|||
|
||||
dwc3-y := core.o
|
||||
|
||||
ifneq ($(CONFIG_FTRACE),)
|
||||
ifneq ($(CONFIG_TRACING),)
|
||||
dwc3-y += trace.o
|
||||
endif
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue