summaryrefslogtreecommitdiffstats
path: root/drivers/pci/pcie/aer/aerdrv.c
diff options
context:
space:
mode:
authorAlex Williamson <alex.williamson@redhat.com>2013-08-08 14:10:20 -0600
committerBjorn Helgaas <bhelgaas@google.com>2013-08-14 15:25:59 -0600
commit1b95ce8fc9c12fdb60047f2f9950f29e76e7c66d (patch)
treef069fc696d3cd56c4afd0ef1ae710469407aaadc /drivers/pci/pcie/aer/aerdrv.c
parentde0c548c33429cc78fd47a3c190c6d00b0e4e441 (diff)
downloadop-kernel-dev-1b95ce8fc9c12fdb60047f2f9950f29e76e7c66d.zip
op-kernel-dev-1b95ce8fc9c12fdb60047f2f9950f29e76e7c66d.tar.gz
PCI: Remove aer_do_secondary_bus_reset()
One PCI bus reset function to rule them all. Signed-off-by: Alex Williamson <alex.williamson@redhat.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'drivers/pci/pcie/aer/aerdrv.c')
-rw-r--r--drivers/pci/pcie/aer/aerdrv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/pcie/aer/aerdrv.c b/drivers/pci/pcie/aer/aerdrv.c
index 76ef634..0bf82a2 100644
--- a/drivers/pci/pcie/aer/aerdrv.c
+++ b/drivers/pci/pcie/aer/aerdrv.c
@@ -352,7 +352,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);
- aer_do_secondary_bus_reset(dev);
+ pci_reset_bridge_secondary_bus(dev);
dev_printk(KERN_DEBUG, &dev->dev, "Root Port link has been reset\n");
/* Clear Root Error Status */
OpenPOWER on IntegriCloud