Patchwork [4/5] usb: musb: Kconfig: Drop dependency on MACH_JZ4740 for jz4740

login
register
mail settings
Submitter Bin Liu
Date Feb. 11, 2019, 5:14 p.m.
Message ID <20190211171450.32277-5-b-liu@ti.com>
Download mbox | patch
Permalink /patch/723161/
State New
Headers show

Comments

Bin Liu - Feb. 11, 2019, 5:14 p.m.
From: Paul Cercueil <paul@crapouillou.net>

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>
Signed-off-by: Bin Liu <b-liu@ti.com>
---
 drivers/usb/musb/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/drivers/usb/musb/Kconfig b/drivers/usb/musb/Kconfig
index 38ff15da8ac8..a23719bb2482 100644
--- a/drivers/usb/musb/Kconfig
+++ b/drivers/usb/musb/Kconfig
@@ -112,7 +112,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