Commit 8371696a authored by Stefan Wahren's avatar Stefan Wahren Committed by Thomas Gleixner
Browse files

irqchip/mxs: Declare icoll_handle_irq() as static



After commit 5bb578a0 ("ARM: 9298/1: Drop custom mdesc->handle_irq()")
the function icoll_handle_irq() is only used within irq-mxs.c.  So declare
it as static to fix the warning about a missing prototype when building
with W=1.

Signed-off-by: default avatarStefan Wahren <wahrenst@gmx.net>
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
parent 234a557e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -130,7 +130,7 @@ static struct irq_chip asm9260_icoll_chip = {
		 IRQCHIP_SKIP_SET_WAKE,
};

asmlinkage void __exception_irq_entry icoll_handle_irq(struct pt_regs *regs)
static void __exception_irq_entry icoll_handle_irq(struct pt_regs *regs)
{
	u32 irqnr;