diff options
author | Sebastian Ott <sebott@linux.vnet.ibm.com> | 2013-06-05 14:05:32 (GMT) |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2013-06-26 19:10:05 (GMT) |
commit | 44b9ca47534d478bf9954d380515cb282fcb48a2 (patch) | |
tree | 0cb77c90e552c6f7a77d06e5c8872ac013392ddb /include | |
parent | 24d5dd0208ed1cd3ef6bf30a50b347ef366f21ac (diff) | |
download | linux-44b9ca47534d478bf9954d380515cb282fcb48a2.tar.xz |
pci: add pcibios_release_device
Platforms may want to provide architecture-specific functionality when
a pci device is released. Add a pcibios_release_device() call that
architectures can override to do so.
Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'include')
-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 3a24e4f..8f170e9 100644 --- a/include/linux/pci.h +++ b/include/linux/pci.h @@ -1643,6 +1643,7 @@ 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); +void pcibios_release_device(struct pci_dev *dev); #ifdef CONFIG_PCI_MMCONFIG void __init pci_mmcfg_early_init(void); |