[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20240517114345.1190755-1-john.ernberg@actia.se>
Date: Fri, 17 May 2024 11:43:52 +0000
From: John Ernberg <john.ernberg@...ia.se>
To: Juergen Gross <jgross@...e.com>, Greg Kroah-Hartman
<gregkh@...uxfoundation.org>
CC: "xen-devel@...ts.xenproject.org" <xen-devel@...ts.xenproject.org>,
"linux-usb@...r.kernel.org" <linux-usb@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>, John Ernberg
<john.ernberg@...ia.se>, "stable@...r.kernel.org" <stable@...r.kernel.org>
Subject: [PATCH] USB: xen-hcd: Traverse host/ when CONFIG_USB_XEN_HCD is
selected
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@...r.kernel.org # v5.17+
Signed-off-by: John Ernberg <john.ernberg@...ia.se>
---
drivers/usb/Makefile | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/usb/Makefile b/drivers/usb/Makefile
index 3a9a0dd4be70..949eca0adebe 100644
--- a/drivers/usb/Makefile
+++ b/drivers/usb/Makefile
@@ -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/
--
2.45.0
Powered by blists - more mailing lists