summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorNeil Zhang <zhangwm@marvell.com>2012-01-30 03:44:23 (GMT)
committerFelipe Balbi <balbi@ti.com>2012-01-30 09:13:56 (GMT)
commitaa3e8b4e715d0781a4e6cd1bb7570410209f0ba8 (patch)
tree436d9d2eda44304694b191ffc37edeab137f5c54 /drivers
parent683da59d7b8ae04891636d4b59893cd4e9b0b7e5 (diff)
downloadlinux-fsl-qoriq-aa3e8b4e715d0781a4e6cd1bb7570410209f0ba8.tar.xz
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: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers')
-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 76d6293..735ef4c 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