]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commitdiff
usb: dwc3: Makefile: fix link error on randconfig
authorFelipe Balbi <felipe.balbi@linux.intel.com>
Thu, 22 Mar 2018 08:45:20 +0000 (10:45 +0200)
committerStefan Bader <stefan.bader@canonical.com>
Tue, 14 Aug 2018 10:28:42 +0000 (12:28 +0200)
BugLink: http://bugs.launchpad.net/bugs/1783418
[ 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>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
drivers/usb/dwc3/Makefile

index 7ac725038f8d8e9ad09dc25d37484b58cf8457a1..025bc68094fcb067d7545da72ae4f2da02315f40 100644 (file)
@@ -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