summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include
diff options
context:
space:
mode:
authorMathieu Malaterre2018-02-25 18:22:31 +0100
committerMichael Ellerman2018-03-13 05:50:38 +0100
commit23a6d8b9634897add6ebff32372f34348387b1ee (patch)
treefd1c0dbd1eaebcc550c05c9fb6835a87fb65c208 /arch/powerpc/include
parentpowerpc: Add missing prototype for arch_irq_work_raise() (diff)
downloadkernel-qcow2-linux-23a6d8b9634897add6ebff32372f34348387b1ee.tar.gz
kernel-qcow2-linux-23a6d8b9634897add6ebff32372f34348387b1ee.tar.xz
kernel-qcow2-linux-23a6d8b9634897add6ebff32372f34348387b1ee.zip
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>
Diffstat (limited to 'arch/powerpc/include')
-rw-r--r--arch/powerpc/include/asm/irq.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/irq.h b/arch/powerpc/include/asm/irq.h
index e8e3a0a04eb0..ee39ce56b2a2 100644
--- a/arch/powerpc/include/asm/irq.h
+++ b/arch/powerpc/include/asm/irq.h
@@ -66,6 +66,7 @@ extern void irq_ctx_init(void);
extern void call_do_softirq(struct thread_info *tp);
extern void call_do_irq(struct pt_regs *regs, struct thread_info *tp);
extern void do_IRQ(struct pt_regs *regs);
+extern void __init init_IRQ(void);
extern void __do_irq(struct pt_regs *regs);
int irq_choose_cpu(const struct cpumask *mask);