Skip to content

Commit

Permalink
xen: fix non-ANSI function warning in irq.c
Browse files Browse the repository at this point in the history
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: Randy Dunlap <randy.dunlap@oracle.com>
Cc:	Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
  • Loading branch information
Randy Dunlap authored and Konrad Rzeszutek Wilk committed Jan 20, 2011
1 parent c56eb8f commit 7d81c3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/x86/xen/irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ static const struct pv_irq_ops xen_irq_ops __initdata = {
#endif
};

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

0 comments on commit 7d81c3b

Please sign in to comment.