usb/gadget: aspeed-vhub: add USB_LIBCOMPOSITE dependency
authorArnd Bergmann <arnd@arndb.de>
Fri, 6 Jul 2018 13:58:10 +0000 (15:58 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 6 Jul 2018 14:28:31 +0000 (16:28 +0200)
commitaaa8fee7dfc974d7f057bc9f1d8e305a114469ad
treebb3bfc7128eb472f584dc21c9e78a237b80dc84e
parentc0addc9a5ba88350a3d9365a73290e34dc238b70
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: 7ecca2a4080c ("usb/gadget: Add driver for Aspeed SoC virtual hub")
Acked-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/gadget/udc/aspeed-vhub/Kconfig