aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLucas Stach <l.stach@pengutronix.de>2014-07-23 13:52:40 -0400
committerBjorn Helgaas <bhelgaas@google.com>2014-09-04 16:58:48 -0400
commit8ddebc4103e6544bd31f0c97e55491387717a124 (patch)
treed7891aeab18840201580fc170656362b95c20869
parent92483df2bad7649caacad60ec7b0f8016e894e11 (diff)
PCI: designware: Remove pci_assign_unassigned_resources() from dw_pcie_host_init()
The pci_common_init_dev() call right before will already handle the device resource allocation, so this call was a no-op. Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Acked-by: Mohit Kumar <mohit.kumar@st.com>
-rw-r--r--drivers/pci/host/pcie-designware.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/pci/host/pcie-designware.c b/drivers/pci/host/pcie-designware.c
index 66462835fc02..538bbf310e44 100644
--- a/drivers/pci/host/pcie-designware.c
+++ b/drivers/pci/host/pcie-designware.c
@@ -581,7 +581,6 @@ int __init dw_pcie_host_init(struct pcie_port *pp)
581 dw_pci.private_data = (void **)&pp; 581 dw_pci.private_data = (void **)&pp;
582 582
583 pci_common_init_dev(pp->dev, &dw_pci); 583 pci_common_init_dev(pp->dev, &dw_pci);
584 pci_assign_unassigned_resources();
585#ifdef CONFIG_PCI_DOMAINS 584#ifdef CONFIG_PCI_DOMAINS
586 dw_pci.domain++; 585 dw_pci.domain++;
587#endif 586#endif