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 | config USB_QCOM_EUD | 140 | config USB_QCOM_EUD |
| 141 | tristate "QCOM Embedded USB Debugger(EUD) Driver" | 141 | tristate "QCOM Embedded USB Debugger(EUD) Driver" |
| 142 | depends on ARCH_QCOM || COMPILE_TEST | ||
| 142 | select USB_ROLE_SWITCH | 143 | select USB_ROLE_SWITCH |
| 143 | help | 144 | help |
| 144 | This module enables support for Qualcomm Technologies, Inc. | 145 | This module enables support for Qualcomm Technologies, Inc. |