diff options
author | Felipe Balbi <felipe.balbi@linux.intel.com> | 2018-03-22 11:45:20 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-05-25 17:17:39 +0300 |
commit | 55aaef4bd8a08ec978169a4484c77b1d4cd49695 (patch) | |
tree | f43bd434f53ca45c6d43eb16ef85faee83c20f5e /drivers/usb/dwc3 | |
parent | 834329c4ad4cb59a8cd6c3e5354c8b91540841c3 (diff) | |
download | linux-55aaef4bd8a08ec978169a4484c77b1d4cd49695.tar.xz |
usb: dwc3: Makefile: fix link error on randconfig
[ Upstream commit de948a74ad6f0eefddf36d765b8f2dd6df82caa0 ]
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>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/dwc3')
-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 |