Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7d81c3b9 authored by Randy Dunlap's avatar Randy Dunlap Committed by Konrad Rzeszutek Wilk
Browse files

xen: fix non-ANSI function warning in irq.c



Fix sparse warning for non-ANSI function declaration:

arch/x86/xen/irq.c:129:30: warning: non-ANSI function declaration of function 'xen_init_irq_ops'

Signed-off-by: default avatarRandy Dunlap <randy.dunlap@oracle.com>
Cc:	Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Signed-off-by: default avatarKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
parent c56eb8fb
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -126,7 +126,7 @@ static const struct pv_irq_ops xen_irq_ops __initdata = {
#endif
#endif
};
};


void __init xen_init_irq_ops()
void __init xen_init_irq_ops(void)
{
{
	pv_irq_ops = xen_irq_ops;
	pv_irq_ops = xen_irq_ops;
	x86_init.irqs.intr_init = xen_init_IRQ;
	x86_init.irqs.intr_init = xen_init_IRQ;