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 <rahul.singh@arm.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
This commit is contained in:
Rahul Singh authored and Stefano Stabellini committed 2021-10-04 17:40:25 -07:00
1 parent 4b88b4bf21
commit 58ce57a11a
1 file changed
+2 -1
+2 -1
View File
@@ -15,7 +15,6 @@
#include <xen/pfn.h>
#include <asm/device.h>
#include <asm/numa.h>
#include <asm/pci.h>
/*
* The PCI interface treats multi-function devices as independent
@@ -62,6 +61,8 @@ typedef union {
};
} pci_sbdf_t;
#include <asm/pci.h>
struct pci_dev_info {
/*
* VF's 'is_extfn' field is used to indicate whether its PF is an extended
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.