A few of the USB musb-new host glue drivers cannot build without access
to some platform specific header files. Express those requirements in
Kconfig as well.

Signed-off-by: Tom Rini <tr...@konsulko.com>
---
Cc: Marek Vasut <marek.va...@mailbox.org>
---
 drivers/usb/musb-new/Kconfig | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/usb/musb-new/Kconfig b/drivers/usb/musb-new/Kconfig
index ad9072a53276..0e2b2b5fb857 100644
--- a/drivers/usb/musb-new/Kconfig
+++ b/drivers/usb/musb-new/Kconfig
@@ -52,9 +52,11 @@ config USB_MUSB_OMAP2PLUS
 
 config USB_MUSB_AM35X
        bool "AM35x"
+       depends on ARCH_OMAP2PLUS
 
 config USB_MUSB_DSPS
        bool "TI DSPS platforms"
+       depends on ARCH_OMAP2PLUS
 
 config USB_MUSB_MT85XX
        bool "Enable Mediatek MT85XX DRC USB controller"
-- 
2.43.0

Reply via email to