]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita5c4411e0d9c4985b828f7c7e45db110769866d9
tree671575839a55edb75621eafa7f80f1e42c4f1cd5
parent20336fea85665002e8ae5e9c5a3ce5b2cdba61eb
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