]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
USB: xen-hcd: Traverse host/ when CONFIG_USB_XEN_HCD is selected
authorJohn Ernberg <john.ernberg@actia.se>
Fri, 17 May 2024 11:43:52 +0000 (11:43 +0000)
committerRoxana Nicolescu <roxana.nicolescu@canonical.com>
Fri, 2 Aug 2024 14:26:48 +0000 (16:26 +0200)
BugLink: https://bugs.launchpad.net/bugs/2074091
commit 8475ffcfb381a77075562207ce08552414a80326 upstream.

If no other USB HCDs are selected when compiling a small pure virutal
machine, the Xen HCD driver cannot be built.

Fix it by traversing down host/ if CONFIG_USB_XEN_HCD is selected.

Fixes: 494ed3997d75 ("usb: Introduce Xen pvUSB frontend (xen hcd)")
Cc: stable@vger.kernel.org # v5.17+
Signed-off-by: John Ernberg <john.ernberg@actia.se>
Link: https://lore.kernel.org/r/20240517114345.1190755-1-john.ernberg@actia.se
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Portia Stephens <portia.stephens@canonical.com>
Signed-off-by: Roxana Nicolescu <roxana.nicolescu@canonical.com>
drivers/usb/Makefile

index 3a9a0dd4be706df102c768f0283bde6cc648ce91..949eca0adebea36f36099a915c6d4fb8a18a2e26 100644 (file)
@@ -35,6 +35,7 @@ obj-$(CONFIG_USB_R8A66597_HCD)        += host/
 obj-$(CONFIG_USB_FSL_USB2)     += host/
 obj-$(CONFIG_USB_FOTG210_HCD)  += host/
 obj-$(CONFIG_USB_MAX3421_HCD)  += host/
+obj-$(CONFIG_USB_XEN_HCD)      += host/
 
 obj-$(CONFIG_USB_C67X00_HCD)   += c67x00/