diff options
author | Jan Kiszka <jan.kiszka@siemens.com> | 2018-05-15 11:07:06 +0200 |
---|---|---|
committer | Bjorn Helgaas <helgaas@kernel.org> | 2018-05-30 11:35:23 -0500 |
commit | 01fcb7f777a9f5d216a1ff41228f15656e50fb63 (patch) | |
tree | 731cac7821859b5960d1ad2f9dccc2e6b3634aa6 /include | |
parent | 5bd51b35c7cbbc98786282ada940429a33b52e17 (diff) | |
download | linux-stable-01fcb7f777a9f5d216a1ff41228f15656e50fb63.tar.gz linux-stable-01fcb7f777a9f5d216a1ff41228f15656e50fb63.tar.bz2 linux-stable-01fcb7f777a9f5d216a1ff41228f15656e50fb63.zip |
PCI: Add support for unbinding the generic PCI host controller
Add support for unbinding the generic PCI host controller. This is
particularly useful when working in virtual environments where the
controller may come and go, but possibly not only there.
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
CC: Will Deacon <will.deacon@arm.com>
CC: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/pci-ecam.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/pci-ecam.h b/include/linux/pci-ecam.h index baadad1aabbc..29efa09d686b 100644 --- a/include/linux/pci-ecam.h +++ b/include/linux/pci-ecam.h @@ -62,5 +62,6 @@ extern struct pci_ecam_ops xgene_v2_pcie_ecam_ops; /* APM X-Gene PCIe v2.x */ /* for DT-based PCI controllers that support ECAM */ int pci_host_common_probe(struct platform_device *pdev, struct pci_ecam_ops *ops); +int pci_host_common_remove(struct platform_device *pdev); #endif #endif |