Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

irqchip/mxs: Declare icoll_handle_irq() as static

After commit 5bb578a0c1b8 ("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: Stefan Wahren <wahrenst@gmx.net>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>

authored by

Stefan Wahren and committed by
Thomas Gleixner
8371696a 234a557e

+1 -1
+1 -1
drivers/irqchip/irq-mxs.c
··· 130 130 IRQCHIP_SKIP_SET_WAKE, 131 131 }; 132 132 133 - asmlinkage void __exception_irq_entry icoll_handle_irq(struct pt_regs *regs) 133 + static void __exception_irq_entry icoll_handle_irq(struct pt_regs *regs) 134 134 { 135 135 u32 irqnr; 136 136