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>
12 lines
207 B
C
12 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
|