This driver requires some mach-at91 specific header files in order to build.
Express that requirement in Kconfig as well.

Signed-off-by: Tom Rini <[email protected]>
---
Cc: Eugen Hristev <[email protected]>
Cc: Marek Vasut <[email protected]>
Cc: Lukasz Majewski <[email protected]>
Cc: Mattijs Korpershoek <[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 6201663317be..bc6ce6ec8776 100644
--- a/drivers/usb/gadget/Kconfig
+++ b/drivers/usb/gadget/Kconfig
@@ -92,6 +92,7 @@ config USB_GADGET_PRODUCT_NUM
 
 config USB_GADGET_ATMEL_USBA
        bool "Atmel USBA"
+       depends on ARCH_AT91
        select USB_GADGET_DUALSPEED
        help
          USBA is the integrated high-speed USB Device controller on
-- 
2.43.0

Reply via email to