diff options
| author | Linus Walleij <linusw@kernel.org> | 2026-09-14 09:30:20 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2026-09-14 18:05:46 +0200 |
| commit | 600334ef2f29b975485ce062a81fcfa00bd3ef45 (patch) | |
| tree | e7f9178b1d0ff18587cc95e954d865d4ea1a6086 /tools/perf/python/stackcollapse.py | |
| parent | dbe68462fa656078eac3a5a09039038dc47e08da (diff) | |
| download | linux-next-600334ef2f29b975485ce062a81fcfa00bd3ef45.tar.gz linux-next-600334ef2f29b975485ce062a81fcfa00bd3ef45.zip | |
usb: fotg210: guard host shutdown in gadget-only builds
FOTG210 can be built with CONFIG_USB=n, but its shutdown callback
references usb_hcd_platform_shutdown() from the USB host core,
causing a link failure.
Guard the call with CONFIG_USB_FOTG210_HCD so gadget-only builds do
not reference the host shutdown helper.
Fixes: 7dbc2e1ba8fd ("usb: fotg210: use the common EHCI core")
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202609141128.DQicnuRW-lkp@intel.com/
Assisted-by: LLM
Signed-off-by: Linus Walleij <linusw@kernel.org>
Link: https://patch.msgid.link/20260914-fotg210-ehci-fixes-v2-1-f98f7d3550d3@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
