diff options
author | Matthew Garrett <mjg@redhat.com> | 2012-12-06 01:33:27 +0400 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2012-12-06 01:38:26 +0400 |
commit | eca0d4676d8e29c209ddce0c0c1755472ffc70a6 (patch) | |
tree | 0455ac26c96f0a383665fe353d28dbeaa3e1f14b /include/linux/pci.h | |
parent | dd5fc854de5fd37adfcef8a366cd21a55aa01d3d (diff) | |
download | linux-eca0d4676d8e29c209ddce0c0c1755472ffc70a6.tar.xz |
PCI: Add pcibios_add_device
Platforms may want to provide architecture-specific functionality during
PCI enumeration. Add a pcibios_add_device() call that architectures can
override to do so.
Signed-off-by: Matthew Garrett <mjg@redhat.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Tested-by: Seth Forshee <seth.forshee@canonical.com>
Diffstat (limited to 'include/linux/pci.h')
-rw-r--r-- | include/linux/pci.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/pci.h b/include/linux/pci.h index ee2179546c63..195c2593bd31 100644 --- a/include/linux/pci.h +++ b/include/linux/pci.h @@ -1592,6 +1592,7 @@ void pcibios_disable_device(struct pci_dev *dev); void pcibios_set_master(struct pci_dev *dev); int pcibios_set_pcie_reset_state(struct pci_dev *dev, enum pcie_reset_state state); +int pcibios_add_device(struct pci_dev *dev); #ifdef CONFIG_PCI_MMCONFIG extern void __init pci_mmcfg_early_init(void); |