Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

usb: misc: USB_QCOM_EUD should depend on ARCH_QCOM

The Qualcomm Embedded USB Debugger is not a pluggable USB device, and
can only be present on Qualcomm SoCs. Hence add a dependency on
ARCH_QCOM, to prevent asking the user about this driver when configuring
a kernel without Qualcomm SoC support.

Fixes: 9a1bf58ccd443268 ("usb: misc: eud: Add driver support for Embedded USB Debugger(EUD)")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/f3ba3ea0d7f5e628c71cb7a9d62c9fb4589297b1.1645630266.git.geert+renesas@glider.be
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Geert Uytterhoeven and committed by
Greg Kroah-Hartman
a352fa58 f9aeda81

+1
+1
drivers/usb/misc/Kconfig
··· 139 139 140 140 config USB_QCOM_EUD 141 141 tristate "QCOM Embedded USB Debugger(EUD) Driver" 142 + depends on ARCH_QCOM || COMPILE_TEST 142 143 select USB_ROLE_SWITCH 143 144 help 144 145 This module enables support for Qualcomm Technologies, Inc.