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

powerpc: Add missing prototype for init_IRQ()

A function init_IRQ() was added without a prototype declared in header
irq.h. Fix the following warning (treated as error in W=1):

arch/powerpc/kernel/irq.c:662:13: error: no previous prototype for ‘init_IRQ’

Signed-off-by: Mathieu Malaterre <malat@debian.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>

authored by

Mathieu Malaterre and committed by
Michael Ellerman
23a6d8b9 f5246862

+1
+1
arch/powerpc/include/asm/irq.h
··· 66 66 extern void call_do_softirq(struct thread_info *tp); 67 67 extern void call_do_irq(struct pt_regs *regs, struct thread_info *tp); 68 68 extern void do_IRQ(struct pt_regs *regs); 69 + extern void __init init_IRQ(void); 69 70 extern void __do_irq(struct pt_regs *regs); 70 71 71 72 int irq_choose_cpu(const struct cpumask *mask);