PCI: microchip: Rename PLDA structures to be generic
authorMinda Chen <minda.chen@starfivetech.com>
Thu, 28 Mar 2024 09:18:18 +0000 (17:18 +0800)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 28 May 2024 16:15:28 +0000 (11:15 -0500)
commite9b7007a94db954b687ad6b6ce782bc1c8a46876
tree16bafbe94c0c3ac6d20fc1c414e17ec867f9a85b
parent55ba2532b33cd89270fede9eb02b249f4ae71668
PCI: microchip: Rename PLDA structures to be generic

Rename struct mc_msi to plda_msi and move most of struct mc_pcie to a new
struct plda_pcie_rp so they can be shared by all PLDA-based drivers.

The axi_base_addr field remains in struct mc_pcie since it's
Microchip-specific data.

The event interrupt code is still using struct mc_pcie because the event
interrupt code can not be re-used.

[kwilczynski: commit log]
Link: https://lore.kernel.org/linux-pci/20240328091835.14797-6-minda.chen@starfivetech.com
Signed-off-by: Minda Chen <minda.chen@starfivetech.com>
Signed-off-by: Krzysztof WilczyƄski <kwilczynski@kernel.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Conor Dooley <conor.dooley@microchip.com>
drivers/pci/controller/plda/pcie-microchip-host.c