usb: ohci-da8xx can only be built-in
authorArnd Bergmann <arnd@arndb.de>
Thu, 8 May 2014 13:52:21 +0000 (15:52 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 27 May 2014 22:53:00 +0000 (15:53 -0700)
commit068413e9b7beb0843704ebaee3fb20f31c9a4cdf
tree5269d7e4a64ed515bcef4334be8aafba5b305cc5
parent274f6afa298791df97fd37b7bc9d8327f5cf6ee9
usb: ohci-da8xx can only be built-in

The PHY setup code of the TI DaVinci DA8xx OHCI controller
uses ad-hoc register access using a pointer that is meant to
be used only by the DaVinci platform implementation and that
is intentionally not exported to loadable modules. This results
in a link error on configurations that use a modular OHCI
code on this platform.

While the proper solution for this problem would be to
implement a real PHY driver shared by ohci-da8xx and musb-da8xx,
this patch for now just works around the build error by
only allowing the ohci-da8xx code to be built-in.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/Kconfig
drivers/usb/host/ohci-hcd.c