From 461510e87e019ffc91cec1d968571b4be3ac8367 Mon Sep 17 00:00:00 2001 From: Alejandro Vallejo Date: Wed, 4 Jun 2025 12:11:14 +0200 Subject: [PATCH] x86: Add missing pci_dev forward declaration in asm/pci.h struct pci_dev is used in function prototypes within the header, so it must be forward declared for asm/pci.h not to depend on xen/pci.h being included first. Not a functional change. Signed-off-by: Alejandro Vallejo Reviewed-by: Jason Andryuk Reviewed-by: Stefano Stabellini --- xen/arch/x86/include/asm/pci.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/xen/arch/x86/include/asm/pci.h b/xen/arch/x86/include/asm/pci.h index bed99437cc..2e67cba8b9 100644 --- a/xen/arch/x86/include/asm/pci.h +++ b/xen/arch/x86/include/asm/pci.h @@ -13,6 +13,8 @@ || (id) == 0x01128086 || (id) == 0x01228086 \ || (id) == 0x010A8086 ) +struct pci_dev; + struct arch_pci_dev { vmask_t used_vectors; /*