pci.h 480 B

12345678910111213141516171819
  1. /* SPDX-License-Identifier: GPL-2.0-only */
  2. #ifndef __ASM_UM_PCI_H
  3. #define __ASM_UM_PCI_H
  4. #include <linux/types.h>
  5. #include <asm/io.h>
  6. /* Generic PCI */
  7. #include <asm-generic/pci.h>
  8. #ifdef CONFIG_PCI_MSI_IRQ_DOMAIN
  9. /*
  10. * This is a bit of an annoying hack, and it assumes we only have
  11. * the virt-pci (if anything). Which is true, but still.
  12. */
  13. void *pci_root_bus_fwnode(struct pci_bus *bus);
  14. #define pci_root_bus_fwnode pci_root_bus_fwnode
  15. #endif
  16. #endif /* __ASM_UM_PCI_H */