xen/pci: Include asm/pci.h after pci_sbdf_t in xen/pci.h
authorRahul Singh <rahul.singh@arm.com>
Mon, 4 Oct 2021 11:51:59 +0000 (12:51 +0100)
committerStefano Stabellini <stefano.stabellini@xilinx.com>
Tue, 5 Oct 2021 00:40:25 +0000 (17:40 -0700)
commit58ce57a11a28f0202d9ab12fdce995b7934de8d1
treeb991dfeabbce73b1cb1e907cf7d282a9f2943f69
parent4b88b4bf21afedb5408860430e1d943aa386e0fb
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>
xen/include/xen/pci.h