Merge "msm: pcie: move PCIe enumerate sysfs init"
This commit is contained in:
commit
9416e47b01
1 changed files with 2 additions and 1 deletions
|
@ -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 &
|
||||
|
|
Loading…
Add table
Reference in a new issue