OSDN Git Service

PCI: qcom: Replace ops with struct pcie_cfg in pcie match data
authorPrasad Malisetty <pmaliset@codeaurora.org>
Thu, 7 Oct 2021 17:48:42 +0000 (23:18 +0530)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 14 Oct 2021 21:53:37 +0000 (16:53 -0500)
commitb89ff410253d7468f84720d2d5c2bb0bafedf3bd
tree671575839a55edb75621eafa7f80f1e42c4f1cd5
parent79352928a6666a5093dda37db4c909b6a37edf98
PCI: qcom: Replace ops with struct pcie_cfg in pcie match data

Add struct qcom_pcie_cfg as match data for all platforms.  Assign
appropriate platform ops into struct qcom_pcie_cfg and read using
of_device_get_match_data() in qcom_pcie_probe().

Link: https://lore.kernel.org/r/1633628923-25047-5-git-send-email-pmaliset@codeaurora.org
Signed-off-by: Prasad Malisetty <pmaliset@codeaurora.org>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Stephen Boyd <swboyd@chromium.org>
drivers/pci/controller/dwc/pcie-qcom.c