diff options
author | Sinan Kaya <okaya@codeaurora.org> | 2018-07-19 19:04:14 -0400 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2018-07-19 19:04:23 -0400 |
commit | fe32e2fa656c29d5d25f959f8e6168ac405d9ab4 (patch) | |
tree | 7c3de37e097bb1dfdf6ac0d453faffc16c210329 /include/linux/pci.h | |
parent | 811c5cb37df46b0cd714dbd053d19cdb97d08cff (diff) |
PCI: Deprecate pci_reset_bus() and pci_reset_slot() functions
pci_reset_bus() and pci_reset_slot() functions are not being used by any
code. Remove them from the kernel in favor of pci_try_reset_bus() and
pci_try_reset_slot() functions.
Signed-off-by: Sinan Kaya <okaya@codeaurora.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'include/linux/pci.h')
-rw-r--r-- | include/linux/pci.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/pci.h b/include/linux/pci.h index 19fb82559145..cf53ecb50789 100644 --- a/include/linux/pci.h +++ b/include/linux/pci.h | |||
@@ -1096,9 +1096,7 @@ int pci_reset_function(struct pci_dev *dev); | |||
1096 | int pci_reset_function_locked(struct pci_dev *dev); | 1096 | int pci_reset_function_locked(struct pci_dev *dev); |
1097 | int pci_try_reset_function(struct pci_dev *dev); | 1097 | int pci_try_reset_function(struct pci_dev *dev); |
1098 | int pci_probe_reset_slot(struct pci_slot *slot); | 1098 | int pci_probe_reset_slot(struct pci_slot *slot); |
1099 | int pci_reset_slot(struct pci_slot *slot); | ||
1100 | int pci_probe_reset_bus(struct pci_bus *bus); | 1099 | int pci_probe_reset_bus(struct pci_bus *bus); |
1101 | int pci_reset_bus(struct pci_bus *bus); | ||
1102 | int pci_try_reset_bus(struct pci_dev *dev); | 1100 | int pci_try_reset_bus(struct pci_dev *dev); |
1103 | void pci_reset_secondary_bus(struct pci_dev *dev); | 1101 | void pci_reset_secondary_bus(struct pci_dev *dev); |
1104 | void pcibios_reset_secondary_bus(struct pci_dev *dev); | 1102 | void pcibios_reset_secondary_bus(struct pci_dev *dev); |