| 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 |
|
| 7 |
/* Generic PCI */ |
| 8 |
#include <asm-generic/pci.h> |
| 9 |
|
| 10 |
#ifdef CONFIG_PCI_MSI |
| 11 |
/* |
| 12 |
* This is a bit of an annoying hack, and it assumes we only have |
| 13 |
* the virt-pci (if anything). Which is true, but still. |
| 14 |
*/ |
| 15 |
void *pci_root_bus_fwnode(struct pci_bus *bus); |
| 16 |
#define pci_root_bus_fwnode pci_root_bus_fwnode |
| 17 |
#endif |
| 18 |
|
| 19 |
#endif /* __ASM_UM_PCI_H */ |