usb, chipidea: fix link error when USB_EHCI_HCD is a module
authorDavid Rientjes <rientjes@google.com>
Fri, 26 Apr 2013 20:25:01 +0000 (13:25 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 17 May 2013 00:28:27 +0000 (17:28 -0700)
commit7c8bfed7aaeba690de30835fe89882e1047a55fd
treec07b709320df6536f4b3d2bdbaa3b0677b778652
parent98f541c6e390d48643047e0924da8ccc10bb1598
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 09f6ffde2ece ("USB: EHCI: fix build error by making
ChipIdea host a normal EHCI driver").

Cc: stable@vger.kernel.org [v3.7+]
Signed-off-by: David Rientjes <rientjes@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/chipidea/Kconfig