usb: host: add dependence for USB_EHCI_MV
authorNeil Zhang <zhangwm@marvell.com>
Thu, 23 Feb 2012 03:41:54 +0000 (11:41 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 24 Feb 2012 21:40:05 +0000 (13:40 -0800)
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>
drivers/usb/host/Kconfig

index b11b09fd61c35f30a75c3489db932b96eb9b4cba..dd045173ab79670a00986b58f8cf0741377e7ce0 100644 (file)
@@ -196,7 +196,7 @@ config USB_EHCI_S5P
 
 config USB_EHCI_MV
        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
        ---help---
          Enables support for Marvell (including PXA and MMP series) on-chip