]> 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)
commitbb9a674d75bc924e8ded5c129f988ae4ede241aa
tree671575839a55edb75621eafa7f80f1e42c4f1cd5
parentdc17add55a89d7cff0167bd071f2bd3d1b2c5668
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