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/include/asm/pci.h | |
parent | s390/pci: unify de-/configure for slots and events (diff) | |
download | linux-95b3a8b4014d82e79dc3ad03a1f8d6ee5f56b29d.tar.xz linux-95b3a8b4014d82e79dc3ad03a1f8d6ee5f56b29d.zip |
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/include/asm/pci.h')
-rw-r--r-- | arch/s390/include/asm/pci.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/s390/include/asm/pci.h b/arch/s390/include/asm/pci.h index c454dfb9fc4b..35dec33c2801 100644 --- a/arch/s390/include/asm/pci.h +++ b/arch/s390/include/asm/pci.h @@ -201,7 +201,6 @@ extern unsigned int s390_pci_no_rid; ----------------------------------------------------------------------------- */ /* Base stuff */ int zpci_create_device(u32 fid, u32 fh, enum zpci_state state); -void zpci_remove_device(struct zpci_dev *zdev, bool set_error); int zpci_enable_device(struct zpci_dev *); int zpci_disable_device(struct zpci_dev *); int zpci_configure_device(struct zpci_dev *zdev, u32 fh); |