xref: /openbmc/linux/arch/um/include/asm/pci.h (revision 7ae9fb1b7ecbb5d85d07857943f677fd1a559b18)
168f5d3f3SJohannes Berg /* SPDX-License-Identifier: GPL-2.0-only */
268f5d3f3SJohannes Berg #ifndef __ASM_UM_PCI_H
368f5d3f3SJohannes Berg #define __ASM_UM_PCI_H
468f5d3f3SJohannes Berg #include <linux/types.h>
568f5d3f3SJohannes Berg #include <asm/io.h>
668f5d3f3SJohannes Berg 
7a2912b45SStafford Horne /* Generic PCI */
8a2912b45SStafford Horne #include <asm-generic/pci.h>
968f5d3f3SJohannes Berg 
10*a474d3fbSThomas Gleixner #ifdef CONFIG_PCI_MSI
1168f5d3f3SJohannes Berg /*
1268f5d3f3SJohannes Berg  * This is a bit of an annoying hack, and it assumes we only have
1368f5d3f3SJohannes Berg  * the virt-pci (if anything). Which is true, but still.
1468f5d3f3SJohannes Berg  */
1568f5d3f3SJohannes Berg void *pci_root_bus_fwnode(struct pci_bus *bus);
1668f5d3f3SJohannes Berg #define pci_root_bus_fwnode	pci_root_bus_fwnode
1768f5d3f3SJohannes Berg #endif
1868f5d3f3SJohannes Berg 
1968f5d3f3SJohannes Berg #endif  /* __ASM_UM_PCI_H */
20