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: Felipe Balbi <balbi@ti.com>
  • Loading branch information
Neil Zhang authored and Felipe Balbi committed Jan 30, 2012
1 parent 683da59 commit aa3e8b4
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 aa3e8b4

Please sign in to comment.