diff --git a/patches.kabi/xhci-hide-include-of-iommu.h.patch b/patches.kabi/xhci-hide-include-of-iommu.h.patch new file mode 100644 index 0000000..93e7486 --- /dev/null +++ b/patches.kabi/xhci-hide-include-of-iommu.h.patch @@ -0,0 +1,31 @@ +From 9b84925f68d29844116d29ad421acb03176b15da Mon Sep 17 00:00:00 2001 +From: Oliver Neukum +Date: Tue, 2 May 2023 18:10:54 +0200 +Subject: [PATCH] xhci: hide include of iommu.h +References: git-fixes +Patch-mainline: Never, kABI fixup + +The include confuses the kABI checker by making symbols defined + +Signed-off-by: Oliver Neukum +--- + drivers/usb/host/xhci.c | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/drivers/usb/host/xhci.c b/drivers/usb/host/xhci.c +index de4d25557..226883fd9 100644 +--- a/drivers/usb/host/xhci.c ++++ b/drivers/usb/host/xhci.c +@@ -21,7 +21,9 @@ + */ + + #include ++#ifndef __GENKSYMS__ + #include ++#endif + #include + #include + #include +-- +2.40.1 + diff --git a/series.conf b/series.conf index f029b0f..b0f9b17 100644 --- a/series.conf +++ b/series.conf @@ -64308,6 +64308,7 @@ patches.kabi/intel_pmc_ipc-restore-ability-to-call-functions-with.patch patches.kabi/struct-wmi_svc_avail_ev_arg-new-member-to-end.patch patches.kabi/struct-ci_hdrc-hide-new-member-at-end.patch + patches.kabi/xhci-hide-include-of-iommu.h.patch ######################################################## # You'd better have a good reason for adding a patch