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]>
---
Changes in v2:
- None

Cc: Marek Vasut <[email protected]>
---
 drivers/usb/gadget/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/usb/gadget/Kconfig b/drivers/usb/gadget/Kconfig
index 0121f9872ae6..9065e14768ad 100644
--- a/drivers/usb/gadget/Kconfig
+++ b/drivers/usb/gadget/Kconfig
@@ -109,6 +109,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
-- 
2.43.0

Reply via email to