diff options
author | Niklas Schnelle <schnelle@linux.ibm.com> | 2021-01-26 13:58:28 +0100 |
---|---|---|
committer | Heiko Carstens <hca@linux.ibm.com> | 2021-03-22 11:36:04 +0100 |
commit | 95b3a8b4014d82e79dc3ad03a1f8d6ee5f56b29d (patch) | |
tree | 4b0b85a38aee49ad62152bcff997ae55513d6f90 /arch/s390/pci/pci_event.c | |
parent | 2631f6b6f22ca613238a416a09e3d2771def6f88 (diff) | |
download | linux-95b3a8b4014d82e79dc3ad03a1f8d6ee5f56b29d.tar.bz2 |
s390/pci: move zpci_remove_device() to bus code
The zpci_remove_device() function removes the device from the PCI common
code core which is an operation dealing primarily with the zbus and PCI
bus code. With that and to match an upcoming refactoring of the
symmetric scanning part move it to the bus code.
Reviewed-by: Matthew Rosato <mjrosato@linux.ibm.com>
Signed-off-by: Niklas Schnelle <schnelle@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Diffstat (limited to 'arch/s390/pci/pci_event.c')
-rw-r--r-- | arch/s390/pci/pci_event.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/s390/pci/pci_event.c b/arch/s390/pci/pci_event.c index 2676df9816f0..9455c5be8820 100644 --- a/arch/s390/pci/pci_event.c +++ b/arch/s390/pci/pci_event.c @@ -82,7 +82,7 @@ static void zpci_event_hard_deconfigured(struct zpci_dev *zdev, u32 fh) /* Give the driver a hint that the function is * already unusable. */ - zpci_remove_device(zdev, true); + zpci_bus_remove_device(zdev, true); if (zdev_enabled(zdev)) { rc = zpci_disable_device(zdev); if (rc) |