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.
Unified · Split
| @@ -139,6 +139,7 @@ config USB_APPLEDISPLAY · 138 unmodified lines | ||
| 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. |