mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-03 00:46:40 +07:00
c41b16f8c9
Consolidate the FPGA IRQ handling code. Integrator/AP and Versatile have one FPGA-based IRQ handler each. Integrator/CP has three. Acked-by: Catalin Marinas <catalin.marinas@arm.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
13 lines
207 B
C
13 lines
207 B
C
#ifndef PLAT_FPGA_IRQ_H
|
|
#define PLAT_FPGA_IRQ_H
|
|
|
|
struct fpga_irq_data {
|
|
void __iomem *base;
|
|
unsigned int irq_start;
|
|
struct irq_chip chip;
|
|
};
|
|
|
|
void fpga_irq_init(int, u32, struct fpga_irq_data *);
|
|
|
|
#endif
|