diff options
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/pci-epc.h | 2 | ||||
| -rw-r--r-- | include/linux/pci.h | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/include/linux/pci-epc.h b/include/linux/pci-epc.h index 697cc190747d..42ef06136bd1 100644 --- a/include/linux/pci-epc.h +++ b/include/linux/pci-epc.h @@ -128,6 +128,7 @@ struct pci_epc_mem { * @group: configfs group representing the PCI EPC device * @lock: mutex to protect pci_epc ops * @function_num_map: bitmap to manage physical function number + * @domain_nr: PCI domain number of the endpoint controller * @init_complete: flag to indicate whether the EPC initialization is complete * or not */ @@ -145,6 +146,7 @@ struct pci_epc { /* mutex to protect against concurrent access of EP controller */ struct mutex lock; unsigned long function_num_map; + int domain_nr; bool init_complete; }; diff --git a/include/linux/pci.h b/include/linux/pci.h index 925c55606cfa..4fe05ebb1da2 100644 --- a/include/linux/pci.h +++ b/include/linux/pci.h @@ -1888,7 +1888,7 @@ static inline int acpi_pci_bus_find_domain_nr(struct pci_bus *bus) { return 0; } #endif int pci_bus_find_domain_nr(struct pci_bus *bus, struct device *parent); -void pci_bus_release_domain_nr(struct pci_bus *bus, struct device *parent); +void pci_bus_release_domain_nr(struct device *parent, int domain_nr); #endif /* Some architectures require additional setup to direct VGA traffic */ |
