diff options
| author | Linux Build Service Account <lnxbuild@quicinc.com> | 2017-05-04 17:44:33 -0700 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2017-05-04 17:44:33 -0700 |
| commit | 9416e47b01b79bdde69200f10ffa0992dc407ec2 (patch) | |
| tree | 09ce8f3efbd063c2e82913caf58f7bc0813b00dc | |
| parent | 932034e5a18d4198e1730dd7b7d8fcef5edcdc27 (diff) | |
| parent | 821a04092d4d65ed37b5855aafd4334ec2797fc9 (diff) | |
Merge "msm: pcie: move PCIe enumerate sysfs init"
| -rw-r--r-- | drivers/pci/host/pci-msm.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/pci/host/pci-msm.c b/drivers/pci/host/pci-msm.c index 243afbe44df3..8bb759d10074 100644 --- a/drivers/pci/host/pci-msm.c +++ b/drivers/pci/host/pci-msm.c @@ -6449,7 +6449,6 @@ static int msm_pcie_probe(struct platform_device *pdev) } dev_set_drvdata(&msm_pcie_dev[rc_idx].pdev->dev, &msm_pcie_dev[rc_idx]); - msm_pcie_sysfs_init(&msm_pcie_dev[rc_idx]); ret = msm_pcie_get_resources(&msm_pcie_dev[rc_idx], msm_pcie_dev[rc_idx].pdev); @@ -6500,6 +6499,8 @@ static int msm_pcie_probe(struct platform_device *pdev) goto decrease_rc_num; } + msm_pcie_sysfs_init(&msm_pcie_dev[rc_idx]); + msm_pcie_dev[rc_idx].drv_ready = true; if (msm_pcie_dev[rc_idx].boot_option & |
