summaryrefslogtreecommitdiffstats
path: root/drivers/usb/otg
diff options
context:
space:
mode:
authorNeil Zhang <zhangwm@marvell.com>2012-01-30 04:44:23 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-02-02 21:46:35 +0100
commited2833ac7ee86ee00f6dd3085a32752209fd8b6e (patch)
tree0607f87c194f5336fe96bcb668051b632911483e /drivers/usb/otg
parentusb: host: Distinguish Kconfig text for Freescale controllers (diff)
downloadlinux-ed2833ac7ee86ee00f6dd3085a32752209fd8b6e.tar.xz
linux-ed2833ac7ee86ee00f6dd3085a32752209fd8b6e.zip
usb: otg: mv_otg: Add dependence
This otg driver depends on marvell EHCI driver, so add the dependence. It can fix the following build error on i386: ERROR: "usb_remove_hcd" [drivers/usb/otg/mv_otg.ko] undefined! ERROR: "usb_add_hcd" [drivers/usb/otg/mv_otg.ko] undefined! Signed-off-by: Neil Zhang <zhangwm@marvell.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/otg')
-rw-r--r--drivers/usb/otg/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/otg/Kconfig b/drivers/usb/otg/Kconfig
index 76d629345418..735ef4c2339a 100644
--- a/drivers/usb/otg/Kconfig
+++ b/drivers/usb/otg/Kconfig
@@ -118,7 +118,7 @@ config FSL_USB2_OTG
config USB_MV_OTG
tristate "Marvell USB OTG support"
- depends on USB_MV_UDC && USB_SUSPEND
+ depends on USB_EHCI_MV && USB_MV_UDC && USB_SUSPEND
select USB_OTG
select USB_OTG_UTILS
help