diff options
author | Felipe Balbi <felipe.balbi@linux.intel.com> | 2018-03-22 10:45:20 +0200 |
---|---|---|
committer | Felipe Balbi <felipe.balbi@linux.intel.com> | 2018-03-22 10:45:20 +0200 |
commit | de948a74ad6f0eefddf36d765b8f2dd6df82caa0 (patch) | |
tree | fe2e78788c2418f026cd1fdb01b4544ec8ded831 /drivers/usb | |
parent | 7642d8386ac71af0666c425264c4d7380269f62c (diff) | |
download | linux-de948a74ad6f0eefddf36d765b8f2dd6df82caa0.tar.bz2 |
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>
Diffstat (limited to 'drivers/usb')
-rw-r--r-- | drivers/usb/dwc3/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/dwc3/Makefile b/drivers/usb/dwc3/Makefile index 7ac725038f8d..025bc68094fc 100644 --- a/drivers/usb/dwc3/Makefile +++ b/drivers/usb/dwc3/Makefile @@ -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 |