Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7c8bfed7 authored by David Rientjes's avatar David Rientjes Committed by Greg Kroah-Hartman
Browse files

usb, chipidea: fix link error when USB_EHCI_HCD is a module



Fixes link error when USB_EHCI_HCD=m and USB_CHIPIDEA_HOST=y:

	drivers/built-in.o: In function `ci_hdrc_host_init':
	drivers/usb/chipidea/host.c:104: undefined reference to `ehci_init_driver'

as a result of commit 09f6ffde ("USB: EHCI: fix build error by making
ChipIdea host a normal EHCI driver").

Cc: stable@vger.kernel.org [v3.7+]
Signed-off-by: default avatarDavid Rientjes <rientjes@google.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 98f541c6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -20,7 +20,7 @@ config USB_CHIPIDEA_UDC
config USB_CHIPIDEA_HOST
	bool "ChipIdea host controller"
	depends on USB=y || USB=USB_CHIPIDEA
	depends on USB_EHCI_HCD
	depends on USB_EHCI_HCD=y
	select USB_EHCI_ROOT_HUB_TT
	help
	  Say Y here to enable host controller functionality of the