]> www.infradead.org Git - users/jedix/linux-maple.git/commit
PCI: microchip: Add num_events field to struct plda_pcie_rp
authorMinda Chen <minda.chen@starfivetech.com>
Thu, 28 Mar 2024 09:18:24 +0000 (17:18 +0800)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 28 May 2024 16:15:29 +0000 (11:15 -0500)
commitd4078c87a530094839e4ba82c75f20262545c5ae
tree23f801f0ddb1723842be87e6822b84bc0e7a4e7f
parentf966c028cfae218871e0ab5bd1674c42fe042e96
PCI: microchip: Add num_events field to struct plda_pcie_rp

The number of events is different across platforms. In order to share
interrupt processing code, add a variable that defines the number of
events so that it can be set per-platform instead of hardcoding it.

Link: https://lore.kernel.org/linux-pci/20240328091835.14797-12-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
drivers/pci/controller/plda/pcie-plda.h