diff options
author | Thomas Bogendoerfer <[email protected]> | 2024-01-19 14:52:51 +0100 |
---|---|---|
committer | Thomas Bogendoerfer <[email protected]> | 2024-01-22 11:12:19 +0100 |
commit | f64fdde9bc771d7d790e8bcc30a7e03bbe0b1a9f (patch) | |
tree | fb4a9a6ccf73c7ffe3deb26c5f9020b7b27fedb5 /arch/mips/sgi-ip32/ip32-irq.c | |
parent | ab58a2f319de945f631150a190653a90e307df8e (diff) |
MIPS: sgi-ip32: Fix missing prototypes
Fix interrupt function prototypes, move all prototypes into a new
file ip32-common.h and include it where needed.
Signed-off-by: Thomas Bogendoerfer <[email protected]>
Reviewed-by: Florian Fainelli <[email protected]>
Diffstat (limited to 'arch/mips/sgi-ip32/ip32-irq.c')
-rw-r--r-- | arch/mips/sgi-ip32/ip32-irq.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/arch/mips/sgi-ip32/ip32-irq.c b/arch/mips/sgi-ip32/ip32-irq.c index e21ea1de05e3..29d04468a06b 100644 --- a/arch/mips/sgi-ip32/ip32-irq.c +++ b/arch/mips/sgi-ip32/ip32-irq.c @@ -28,6 +28,8 @@ #include <asm/ip32/mace.h> #include <asm/ip32/ip32_ints.h> +#include "ip32-common.h" + /* issue a PIO read to make sure no PIO writes are pending */ static inline void flush_crime_bus(void) { @@ -107,10 +109,6 @@ static inline void flush_mace_bus(void) * is quite different anyway. */ -/* Some initial interrupts to set up */ -extern irqreturn_t crime_memerr_intr(int irq, void *dev_id); -extern irqreturn_t crime_cpuerr_intr(int irq, void *dev_id); - /* * This is for pure CRIME interrupts - ie not MACE. The advantage? * We get to split the register in half and do faster lookups. |