diff options
author | Arnd Bergmann <arnd@arndb.de> | 2014-09-29 08:54:34 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-09-29 11:51:54 -0400 |
commit | 905e300e1043f5ff513840d342df5c985b3dc08c (patch) | |
tree | 86a29529ed21895aa4ef78bbc08237f6e891f6b7 /drivers/usb/gadget/function/uvc_v4l2.c | |
parent | 46c1cda88c6e669965e00d6557cc5231fcef91d5 (diff) |
USB: host: st: fix ehci/ohci driver selection
The newly added sti ehci and ohci drivers come with a single
Kconfig entry that does not depend on either of the base drivers,
which leads to a link error when they are disabled:
drivers/built-in.o: In function `ohci_platform_init':
:(.init.text+0x14788): undefined reference to `ohci_init_driver'
To fix that, this patch introduces two separate Kconfig options
with proper dependencies, which avoids the problem and is also
more consistent with the other glue drivers.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Fixes: d115837259ada ("usb: host: ohci-st: Add OHCI driver support for ST STB devices")
Cc: Peter Griffin <peter.griffin@linaro.org>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/gadget/function/uvc_v4l2.c')
0 files changed, 0 insertions, 0 deletions