PCI: xilinx-cpm: Move IRQ definitions to a common header
authorThippeswamy Havalige <thippeswamy.havalige@amd.com>
Tue, 3 Oct 2023 17:34:51 +0000 (23:04 +0530)
committerKrzysztof Wilczyński <kwilczynski@kernel.org>
Thu, 26 Oct 2023 14:10:42 +0000 (14:10 +0000)
commita977ee945e9490fabd33dcc33399e992252598cf
tree392511b9298dad194cd099a2a81a77d5a86bd4c7
parent0bb80ecc33a8fb5a682236443c1e740d5c917d1d
PCI: xilinx-cpm: Move IRQ definitions to a common header

Move the interrupt bit definitions to the pcie-xilinx-common.h file,
which then can be shared between pcie-xilinx-cpm and the new xilinx-xdma
drivers.

While at it, also rename them so these definitions are not CPM-specific.

No functional change intended.

[kwilczynski: commit log]
Link: https://lore.kernel.org/linux-pci/20231003173453.938190-2-thippeswamy.havalige@amd.com
Signed-off-by: Thippeswamy Havalige <thippeswamy.havalige@amd.com>
Signed-off-by: Bharat Kumar Gogada <bharat.kumar.gogada@amd.com>
Signed-off-by: Krzysztof Wilczyński <kwilczynski@kernel.org>
drivers/pci/controller/pcie-xilinx-common.h [new file with mode: 0644]
drivers/pci/controller/pcie-xilinx-cpm.c