summaryrefslogtreecommitdiffstats
path: root/drivers/pci/pcie/aer/aerdrv.c
diff options
context:
space:
mode:
authorAlex Williamson <alex.williamson@redhat.com>2013-08-08 22:10:20 +0200
committerBjorn Helgaas <bhelgaas@google.com>2013-08-14 23:25:59 +0200
commit1b95ce8fc9c12fdb60047f2f9950f29e76e7c66d (patch)
treef069fc696d3cd56c4afd0ef1ae710469407aaadc /drivers/pci/pcie/aer/aerdrv.c
parentPCI: Tune secondary bus reset timing (diff)
downloadlinux-1b95ce8fc9c12fdb60047f2f9950f29e76e7c66d.tar.xz
linux-1b95ce8fc9c12fdb60047f2f9950f29e76e7c66d.zip
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 76ef634caf6f..0bf82a20a0fb 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 */