瀏覽代碼

usb: host: add dependence for USB_EHCI_MV

This ehci driver is mainly designed to support host controller found on
Marvell PXA and MMP Soc series.
Add the dependence to avoid the potential build failure which may
include two EHCI controller drivers.

Signed-off-by: Neil Zhang <zhangwm@marvell.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Neil Zhang 13 年之前
父節點
當前提交
a219b666e8
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      drivers/usb/host/Kconfig

+ 1 - 1
drivers/usb/host/Kconfig

@@ -196,7 +196,7 @@ config USB_EHCI_S5P
 
 
 config USB_EHCI_MV
 config USB_EHCI_MV
 	bool "EHCI support for Marvell on-chip controller"
 	bool "EHCI support for Marvell on-chip controller"
-	depends on USB_EHCI_HCD
+	depends on USB_EHCI_HCD && (ARCH_PXA || ARCH_MMP)
 	select USB_EHCI_ROOT_HUB_TT
 	select USB_EHCI_ROOT_HUB_TT
 	---help---
 	---help---
 	  Enables support for Marvell (including PXA and MMP series) on-chip
 	  Enables support for Marvell (including PXA and MMP series) on-chip