diff options
author | Sinan Kaya <okaya@codeaurora.org> | 2018-07-20 02:04:11 +0300 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2018-07-20 02:04:23 +0300 |
commit | 381634cad15b711e033a2638d558232b60f753f6 (patch) | |
tree | c3e4734607dd4efe5a883250708b25b3f7a60fec /drivers/pci/pcie/aer.c | |
parent | 409888e0966e2753f8e272b89806738469c47e1d (diff) | |
download | linux-381634cad15b711e033a2638d558232b60f753f6.tar.xz |
PCI: Hide pci_reset_bridge_secondary_bus() from drivers
Rename pci_reset_bridge_secondary_bus() to pci_bridge_secondary_bus_reset()
and move the declaration from linux/pci.h to drivers/pci.h to be used
internally in PCI directory only.
Signed-off-by: Sinan Kaya <okaya@codeaurora.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'drivers/pci/pcie/aer.c')
-rw-r--r-- | drivers/pci/pcie/aer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/pcie/aer.c b/drivers/pci/pcie/aer.c index bde723db3d65..8c12efca9259 100644 --- a/drivers/pci/pcie/aer.c +++ b/drivers/pci/pcie/aer.c @@ -1314,7 +1314,7 @@ static pci_ers_result_t aer_root_reset(struct pci_dev *dev) reg32 &= ~ROOT_PORT_INTR_ON_MESG_MASK; pci_write_config_dword(dev, pos + PCI_ERR_ROOT_COMMAND, reg32); - rc = pci_reset_bridge_secondary_bus(dev); + rc = pci_bridge_secondary_bus_reset(dev); pci_printk(KERN_DEBUG, dev, "Root Port link has been reset\n"); /* Clear Root Error Status */ |