]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
usb: otg: mv_otg: Add dependence
authorNeil Zhang <zhangwm@marvell.com>
Mon, 30 Jan 2012 03:44:23 +0000 (11:44 +0800)
committerFelipe Balbi <balbi@ti.com>
Mon, 30 Jan 2012 09:13:56 +0000 (11:13 +0200)
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>
drivers/usb/otg/Kconfig

index 76d6293454185134247929dc7cad69c367fd48fa..735ef4c2339ae9a69c51a87e09bc5ddf68aefa30 100644 (file)
@@ -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