Skip to content

Commit

Permalink
usb: otg: mv_otg: Add dependence
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Neil Zhang authored and Greg Kroah-Hartman committed Feb 2, 2012
1 parent c0ca9bc commit ed2833a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/usb/otg/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ed2833a

Please sign in to comment.