diff options
author | Gavin Shan <gwshan@linux.vnet.ibm.com> | 2017-03-30 10:05:29 +1100 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2017-03-31 16:57:07 +1100 |
commit | 2e831a162653d53cb3e69cd98d75f0129752a643 (patch) | |
tree | 2a6e5d4c0f36a78f3fea410ea07a3bea98b19254 /hw/phb3.c | |
parent | bb74665672d990b6676138efc1b07067df3806de (diff) | |
download | skiboot-2e831a162653d53cb3e69cd98d75f0129752a643.zip skiboot-2e831a162653d53cb3e69cd98d75f0129752a643.tar.gz skiboot-2e831a162653d53cb3e69cd98d75f0129752a643.tar.bz2 |
core/pci: Add phb->ops->device_remove
This adds another PHB callback (device_remove()), corresponding to
device_init(). With it, the PHB3 layer can receive notification
upon PCI topology changes. This functionality will be used by the
subsequent patches.
Signed-off-by: Gavin Shan <gwshan@linux.vnet.ibm.com>
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'hw/phb3.c')
-rw-r--r-- | hw/phb3.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -3810,6 +3810,7 @@ static const struct phb_ops phb3_ops = { .choose_bus = phb3_choose_bus, .get_reserved_pe_number = phb3_get_reserved_pe_number, .device_init = phb3_device_init, + .device_remove = NULL, .ioda_reset = phb3_ioda_reset, .papr_errinjct_reset = phb3_papr_errinjct_reset, .pci_reinit = phb3_pci_reinit, |