diff options
author | Niklas Cassel <cassel@kernel.org> | 2024-06-07 13:14:29 +0200 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2024-07-09 18:29:05 -0500 |
commit | 49a0925d17332415683e5f692ad932ab86c2d3ad (patch) | |
tree | b7fa7ae52369fba4dc3c7a6aa66e478adff5f2da /drivers/pci/controller/pci-host-common.c | |
parent | d8b864c95dcb1ad943cdecaf3cdab08217fb70e0 (diff) |
PCI: dw-rockchip: Refactor the driver to prepare for EP mode
Refactor the driver to prepare for EP mode.
Add of-match data to the existing compatible, and explicitly define it as
DW_PCIE_RC_TYPE. This way, we will be able to add EP mode in a follow-up
commit in a much less intrusive way, which makes the follow-up commit much
easier to review.
No functional change intended.
Link: https://lore.kernel.org/linux-pci/20240607-rockchip-pcie-ep-v1-v5-9-0a042d6b0049@kernel.org
Signed-off-by: Niklas Cassel <cassel@kernel.org>
Signed-off-by: Krzysztof WilczyĆski <kwilczynski@kernel.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Diffstat (limited to 'drivers/pci/controller/pci-host-common.c')
0 files changed, 0 insertions, 0 deletions