summaryrefslogtreecommitdiff
path: root/arch/powerpc/include/asm/pci-bridge.h
diff options
context:
space:
mode:
authorMichael Neuling <mikey@neuling.org>2015-05-27 09:06:57 +0300
committerMichael Ellerman <mpe@ellerman.id.au>2015-06-03 06:27:15 +0300
commit10e796309a670bb2c13eae5aa6f60e10d2d6a6e1 (patch)
tree1a7569b0ff2c12aa6686a480b4ea15a914b8ace2 /arch/powerpc/include/asm/pci-bridge.h
parent5b64d2cc41216bef3e19913d1a39c324c2587d11 (diff)
downloadlinux-10e796309a670bb2c13eae5aa6f60e10d2d6a6e1.tar.xz
powerpc/pci: Add release_device() hook to phb ops
Add release_device() hook to phb ops so we can clean up for specific phbs. Signed-off-by: Michael Neuling <mikey@neuling.org> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/include/asm/pci-bridge.h')
-rw-r--r--arch/powerpc/include/asm/pci-bridge.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/pci-bridge.h b/arch/powerpc/include/asm/pci-bridge.h
index 6d17bb8498bf..4cf0caaa33c7 100644
--- a/arch/powerpc/include/asm/pci-bridge.h
+++ b/arch/powerpc/include/asm/pci-bridge.h
@@ -27,6 +27,8 @@ struct pci_controller_ops {
* allow assignment/enabling of the device. */
bool (*enable_device_hook)(struct pci_dev *);
+ void (*release_device)(struct pci_dev *);
+
/* Called during PCI resource reassignment */
resource_size_t (*window_alignment)(struct pci_bus *, unsigned long type);
void (*reset_secondary_bus)(struct pci_dev *dev);