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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 25 May 2018 14:17:39 +0000 (16:17 +0200)
commit55aaef4bd8a08ec978169a4484c77b1d4cd49695
treef43bd434f53ca45c6d43eb16ef85faee83c20f5e
parent834329c4ad4cb59a8cd6c3e5354c8b91540841c3
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>
drivers/usb/dwc3/Makefile