From: Rahul Singh Date: Mon, 4 Oct 2021 11:51:59 +0000 (+0100) Subject: xen/pci: Include asm/pci.h after pci_sbdf_t in xen/pci.h X-Git-Tag: archive/raspbian/4.16.0+51-g0941d6cb-1+rpi1~2^2~42^2~136 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=58ce57a11a28f0202d9ab12fdce995b7934de8d1;p=xen.git xen/pci: Include asm/pci.h after pci_sbdf_t in xen/pci.h Prototypes declared in asm/pci.h that take argument of type pci_sbdf_t are included in xen/pci.h before defining pci_sbdf_t. Include asm/pci.h after pci_sbdf_t in xen/pci.h to fix the issue. Signed-off-by: Rahul Singh Acked-by: Jan Beulich --- diff --git a/xen/include/xen/pci.h b/xen/include/xen/pci.h index 8e3d4d9454..70ac25345c 100644 --- a/xen/include/xen/pci.h +++ b/xen/include/xen/pci.h @@ -15,7 +15,6 @@ #include #include #include -#include /* * The PCI interface treats multi-function devices as independent @@ -62,6 +61,8 @@ typedef union { }; } pci_sbdf_t; +#include + struct pci_dev_info { /* * VF's 'is_extfn' field is used to indicate whether its PF is an extended