summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2025-09-26 09:30:32 -0600
committerMarek Vasut <[email protected]>2025-11-12 22:13:03 +0100
commit91b9659273029151d9be3c79f3a2cb4da261d241 (patch)
tree5629d8181856a0a086a2f1e547f3bec404200673 /drivers
parentfa9864f1c4c6f1ad9510b42bab297130e1c7e8bf (diff)
usb: gadget: Tighten the dependency for DWC2 OTG support
The DWC2 OTG driver depends on an ARM-specific header file to compile, so make it depend on ARM. Signed-off-by: Tom Rini <[email protected]> Reviewed-by: Peter Robinson <[email protected]> Reviewed-by: Mattijs Korpershoek <[email protected]>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/usb/gadget/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/gadget/Kconfig b/drivers/usb/gadget/Kconfig
index f64a3bfb36c..4cafb49234f 100644
--- a/drivers/usb/gadget/Kconfig
+++ b/drivers/usb/gadget/Kconfig
@@ -108,6 +108,7 @@ config USB_GADGET_AT91
config USB_GADGET_DWC2_OTG
bool "DesignWare USB2.0 HS OTG controller (gadget mode)"
+ depends on ARM
select USB_GADGET_DUALSPEED
help
The Designware USB2.0 high-speed gadget controller