]> git.baikalelectronics.ru Git - kernel.git/commit
PCI: qcom: Fix pp->dev usage before assignment
authorSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Tue, 25 Oct 2016 13:42:51 +0000 (14:42 +0100)
committerBjorn Helgaas <bhelgaas@google.com>
Wed, 26 Oct 2016 19:46:39 +0000 (14:46 -0500)
commit0f536d5de97a180478568fb9b4ccacc9d3db2902
treebcafce6681869a4fe7bd792329ab4b148b87abd4
parentfdc79fa01402c725a614610d86aec80c8491a127
PCI: qcom: Fix pp->dev usage before assignment

Initialize pp->dev in qcom_pcie_probe() before calling get_resources(),
which uses it.

[bhelgaas: changelog]
Fixes: 3495869968de ("PCI: qcom: Remove redundant struct qcom_pcie.dev")
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/host/pcie-qcom.c