arch/x86/kernel/irqinit.c defines an __init function init_IRQ, called from init/main.c. No header file prototypes init_IRQ, because init/main.c tends to directly define prototypes for init functions it calls, rather than including appropriate headers. So, add a prototype of init_IRQ to arch/x86/kernel/irqinit.c right above the definition, to satisfy gcc (-Wmissing-prototypes) and Sparse (-Wdecl).
arch/x86/kernel/irqinit.c:118:116: warning: no previous prototype for ‘init_IRQ’ [-Wmissing-prototypes] Signed-off-by: Josh Triplett <j...@joshtriplett.org> --- arch/x86/kernel/irqinit.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/x86/kernel/irqinit.c b/arch/x86/kernel/irqinit.c index 6e03b0d..abc1f55 100644 --- a/arch/x86/kernel/irqinit.c +++ b/arch/x86/kernel/irqinit.c @@ -115,6 +115,7 @@ void __init init_ISA_irqs(void) irq_set_chip_and_handler_name(i, chip, handle_level_irq, name); } +void init_IRQ(void); void __init init_IRQ(void) { int i; -- 1.7.10.4 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/