usb/gadget: aspeed-vhub: add USB_LIBCOMPOSITE dependency
Subsystems (2)
PATCH 1/1 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'
--- drivers/usb/gadget/udc/aspeed-vhub/Kconfig | 1 + 1 file changed, 1 insertion(+)
drivers/usb/gadget/udc/aspeed-vhub/Kconfig +1 -0
@@ -2,6 +2,7 @@ config USB_ASPEED_VHUB tristate "Aspeed vHub UDC driver" depends on ARCH_ASPEED || COMPILE_TEST + depends on USB_LIBCOMPOSITE help USB peripheral controller for the Aspeed AST2500 family SoCs supporting the "vHub" functionality and USB2.0
Signature · 1 line
2.9.0
Quoted 4 lines · Arnd Bergmann
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'
Thanks ! I hadn't realized these functions were part of an optional library.
Quoted 2 lines
Fixes 7ecca2a4080c ("usb/gadget: Add driver for Aspeed SoC virtual hub")Signed-off-by Arnd Bergmann <[email protected]>
Quoted 16 lines
--- drivers/usb/gadget/udc/aspeed-vhub/Kconfig | 1 + 1 file changed, 1 insertion(+)drivers/usb/gadget/udc/aspeed-vhub/Kconfig +1
-0@@ -2,6 +2,7 @@ config USB_ASPEED_VHUB tristate "Aspeed vHub UDC driver" depends on ARCH_ASPEED || COMPILE_TEST + depends on USB_LIBCOMPOSITE help USB peripheral controller for the Aspeed AST2500 family SoCs supporting the "vHub" functionality and USB2.0
Hi,
Quoted 7 lines · Arnd Bergmann
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 7ecca2a4080c ("usb/gadget: Add driver for Aspeed SoC virtual hub")Signed-off-by Arnd Bergmann <[email protected]>
Signature · 8 lines
balbi -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 832 bytes Desc: not available URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20180530/7fc655b2/attachment.sig>
Quoted 5 lines · Felipe Balbi
Hi,
Quoted 2 lines · Arnd Bergmann
Without that option, we run into a link failure:
Quoted 7 lines
Quoted 5 lines
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 7ecca2a4080c ("usb/gadget: Add driver for Aspeed SoC virtual hub")Signed-off-by Arnd Bergmann <[email protected]>Acked-by Felipe Balbi <[email protected]>
Greg, can you send this to Linus asap ? Some people are hitting build breakages upstream because of this.
Thanks !
Cheers,
Ben,
Quoted 9 lines · Benjamin Herrenschmidt
Quoted 8 lines · Felipe Balbi
Hi,
Quoted 5 lines · Arnd Bergmann
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'
Quoted 7 lines
Quoted 4 lines
Quoted 2 lines
Fixes 7ecca2a4080c ("usb/gadget: Add driver for Aspeed SoC virtual hub")Signed-off-by Arnd Bergmann <[email protected]>Acked-by Felipe Balbi <[email protected]>Greg, can you send this to Linus asap ? Some people are hitting build breakages upstream because of this.
Agreed.
Quoted 1 line
Thanks !
ditto.
Signature · 1 line
~Randy