diff mbox series

[v3,3/4] usb: musb: Kconfig: Drop dependency on MACH_JZ4740 for jz4740

Message ID 20190117223330.16631-3-paul@crapouillou.net (mailing list archive)
State Mainlined
Commit 874b08ba756eef952fd89051816b62fd82a56657
Headers show
Series [v3,1/4] Documentation: dt: Add binding info for jz4740-musb driver | expand

Commit Message

Paul Cercueil Jan. 17, 2019, 10:33 p.m. UTC
Depending on MACH_JZ4740 prevent us from creating a generic kernel that
works on more than one MIPS board. Instead, we just depend on MIPS being
set.

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
---

v2: Remove info about adding COMPILE_TEST in commit message, as it was
    there before

v3: Change MACH_INGENIC to MACH_JZ4740 in commit message

 drivers/usb/musb/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/drivers/usb/musb/Kconfig b/drivers/usb/musb/Kconfig
index ad08895e78f9..6f5b0ed6a507 100644
--- a/drivers/usb/musb/Kconfig
+++ b/drivers/usb/musb/Kconfig
@@ -111,7 +111,7 @@  config USB_MUSB_UX500
 config USB_MUSB_JZ4740
 	tristate "JZ4740"
 	depends on NOP_USB_XCEIV
-	depends on MACH_JZ4740 || COMPILE_TEST
+	depends on MIPS || COMPILE_TEST
 	depends on USB_MUSB_GADGET
 	depends on USB_OTG_BLACKLIST_HUB