summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorRandy Dunlap <randy.dunlap@oracle.com>2011-01-09 05:00:36 +0100
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>2011-01-20 20:52:13 +0100
commit7d81c3b9e2e5057c52256e154205143ad4e6e919 (patch)
tree53166651129f1f68967466d51155d6f910a366fe /arch
parentLinux 2.6.38-rc1 (diff)
downloadlinux-7d81c3b9e2e5057c52256e154205143ad4e6e919.tar.xz
linux-7d81c3b9e2e5057c52256e154205143ad4e6e919.zip
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: Randy Dunlap <randy.dunlap@oracle.com> Cc: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/x86/xen/irq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/xen/irq.c b/arch/x86/xen/irq.c
index 9d30105a0c4a..6a6fe8939645 100644
--- a/arch/x86/xen/irq.c
+++ b/arch/x86/xen/irq.c
@@ -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;