diff options
author | Jake Oshins <jakeo@microsoft.com> | 2016-02-16 21:56:21 +0000 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2016-02-16 16:48:11 -0600 |
commit | 92016ba5c1d71fbe4e9952df518b5386f2a0556b (patch) | |
tree | fb7d4f6f944c1a91a55b340865e7f134ad2d70e8 /include/linux/pci.h | |
parent | 92e963f50fc74041b5e9e744c330dca48e04f08d (diff) |
PCI: Add fwnode_handle to x86 pci_sysdata
Add an fwnode_handle to the x86 struct pci_sysdata, which will be used to
locate an IRQ domain associated with a root PCI bus.
[bhelgaas: changelog]
Signed-off-by: Jake Oshins <jakeo@microsoft.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'include/linux/pci.h')
-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 27df4a6585da..1bb44af6c9f0 100644 --- a/include/linux/pci.h +++ b/include/linux/pci.h @@ -1515,6 +1515,10 @@ static inline int pci_get_new_domain_nr(void) { return -ENOSYS; } #include <asm/pci.h> +#ifndef pci_root_bus_fwnode +#define pci_root_bus_fwnode(bus) NULL +#endif + /* these helpers provide future and backwards compatibility * for accessing popular PCI BAR info */ #define pci_resource_start(dev, bar) ((dev)->resource[(bar)].start) |