diff options
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/pci.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/pci.h b/include/linux/pci.h index d6709831efb9..bd757f3c721c 100644 --- a/include/linux/pci.h +++ b/include/linux/pci.h | |||
| @@ -1522,6 +1522,10 @@ static inline int pci_get_new_domain_nr(void) { return -ENOSYS; } | |||
| 1522 | 1522 | ||
| 1523 | #include <asm/pci.h> | 1523 | #include <asm/pci.h> |
| 1524 | 1524 | ||
| 1525 | #ifndef pci_root_bus_fwnode | ||
| 1526 | #define pci_root_bus_fwnode(bus) NULL | ||
| 1527 | #endif | ||
| 1528 | |||
| 1525 | /* these helpers provide future and backwards compatibility | 1529 | /* these helpers provide future and backwards compatibility |
| 1526 | * for accessing popular PCI BAR info */ | 1530 | * for accessing popular PCI BAR info */ |
| 1527 | #define pci_resource_start(dev, bar) ((dev)->resource[(bar)].start) | 1531 | #define pci_resource_start(dev, bar) ((dev)->resource[(bar)].start) |
