Skip to content

Commit 8371696

Browse files
lategoodbyeKAGA-KOKO
authored andcommitted
irqchip/mxs: Declare icoll_handle_irq() as static
After commit 5bb578a ("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>
1 parent 234a557 commit 8371696

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/irqchip/irq-mxs.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ static struct irq_chip asm9260_icoll_chip = {
130130
IRQCHIP_SKIP_SET_WAKE,
131131
};
132132

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)
134134
{
135135
u32 irqnr;
136136

0 commit comments

Comments
 (0)