Explorar o código

usb: make the MTK XHCI driver compile for older MIPS SoCs

The MIPS based MT7621 shares the same XHCI core as the newer generation of
ARM based SoCs. The driver works out of the box and we only need to make it
buildable in Kconfig.

Signed-off-by: John Crispin <john@phrozen.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
John Crispin %!s(int64=8) %!d(string=hai) anos
pai
achega
808cf33d48
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      drivers/usb/host/Kconfig

+ 2 - 2
drivers/usb/host/Kconfig

@@ -45,9 +45,9 @@ config USB_XHCI_PLATFORM
 	  If unsure, say N.
 	  If unsure, say N.
 
 
 config USB_XHCI_MTK
 config USB_XHCI_MTK
-	tristate "xHCI support for Mediatek MT65xx"
+	tristate "xHCI support for Mediatek MT65xx/MT7621"
 	select MFD_SYSCON
 	select MFD_SYSCON
-	depends on ARCH_MEDIATEK || COMPILE_TEST
+	depends on (MIPS && SOC_MT7621) || ARCH_MEDIATEK || COMPILE_TEST
 	---help---
 	---help---
 	  Say 'Y' to enable the support for the xHCI host controller
 	  Say 'Y' to enable the support for the xHCI host controller
 	  found in Mediatek MT65xx SoCs.
 	  found in Mediatek MT65xx SoCs.