powerpc/pci: Override pcibios_release_device()
authorGavin Shan <shangw@linux.vnet.ibm.com>
Wed, 24 Jul 2013 02:24:53 +0000 (10:24 +0800)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 24 Jul 2013 04:18:46 +0000 (14:18 +1000)
commit008a4938ea07db071f03adffaa3a78c2fbbcde6b
tree9baeaa629cc4ac775fa8fa6f6ee00d203c952dd8
parentf2856491d24044de08da9e53cf7068841a8b4e1c
powerpc/pci: Override pcibios_release_device()

The patch overrides pcibios_release_device() to release EEH
resources (EEH cache, unbinding EEH device) for the indicated PCI
device.

Signed-off-by: Gavin Shan <shangw@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/kernel/pci-hotplug.c