提交 aaa8fee7 编写于 作者: A Arnd Bergmann 提交者: Greg Kroah-Hartman

usb/gadget: aspeed-vhub: add USB_LIBCOMPOSITE dependency

Without that option, we run into a link failure:

drivers/usb/gadget/udc/aspeed-vhub/hub.o: In function `ast_vhub_std_hub_request':
hub.c:(.text+0x5b0): undefined reference to `usb_gadget_get_string'

Fixes: 7ecca2a4 ("usb/gadget: Add driver for Aspeed SoC virtual hub")
Acked-by: NFelipe Balbi <felipe.balbi@linux.intel.com>
Signed-off-by: NArnd Bergmann <arnd@arndb.de>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 c0addc9a
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
config USB_ASPEED_VHUB config USB_ASPEED_VHUB
tristate "Aspeed vHub UDC driver" tristate "Aspeed vHub UDC driver"
depends on ARCH_ASPEED || COMPILE_TEST depends on ARCH_ASPEED || COMPILE_TEST
depends on USB_LIBCOMPOSITE
help help
USB peripheral controller for the Aspeed AST2500 family USB peripheral controller for the Aspeed AST2500 family
SoCs supporting the "vHub" functionality and USB2.0 SoCs supporting the "vHub" functionality and USB2.0
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册