|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [xen master] x86: Add missing pci_dev forward declaration in asm/pci.h
commit 461510e87e019ffc91cec1d968571b4be3ac8367
Author: Alejandro Vallejo <agarciav@xxxxxxx>
AuthorDate: Wed Jun 4 12:11:14 2025 +0200
Commit: Jan Beulich <jbeulich@xxxxxxxx>
CommitDate: Wed Jun 4 12:11:14 2025 +0200
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 <agarciav@xxxxxxx>
Reviewed-by: Jason Andryuk <jason.andryuk@xxxxxxx>
Reviewed-by: Stefano Stabellini <sstabellini@xxxxxxxxxx>
---
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;
/*
--
generated by git-patchbot for /home/xen/git/xen.git#master
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |