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)
commitad110449e285c75eb53357e87419a73c96ccb1b9
treebcafce6681869a4fe7bd792329ab4b148b87abd4
parent02a1b8f4167eac709d269341f7c3c340984c28a6
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: e6a087eeaf91 ("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