summaryrefslogtreecommitdiff
path: root/arch/x86/mach-default
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2007-10-17 18:04:36 +0200
committerThomas Gleixner <tglx@inhelltoy.tec.linutronix.de>2007-10-17 20:16:06 +0200
commit6a61f6a55708f5e50c4d78934199e7e9257e6aa2 (patch)
treeb834e5a3a4a73b6c6412afbb3068b4ee32fe936c /arch/x86/mach-default
parent6d43be8ea8c92a41557dacde94ae73565cbc01f0 (diff)
downloadlinux-3.10-6a61f6a55708f5e50c4d78934199e7e9257e6aa2.tar.gz
linux-3.10-6a61f6a55708f5e50c4d78934199e7e9257e6aa2.tar.bz2
linux-3.10-6a61f6a55708f5e50c4d78934199e7e9257e6aa2.zip
x86: clean up struct irqaction initializers
clean up struct irqaction initializers to C99. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: Andi Kleen <ak@suse.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/mach-default')
-rw-r--r--arch/x86/mach-default/setup.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/arch/x86/mach-default/setup.c b/arch/x86/mach-default/setup.c
index 1bd82983986..3f08010f351 100644
--- a/arch/x86/mach-default/setup.c
+++ b/arch/x86/mach-default/setup.c
@@ -35,7 +35,11 @@ void __init pre_intr_init_hook(void)
/*
* IRQ2 is cascade interrupt to second interrupt controller
*/
-static struct irqaction irq2 = { no_action, 0, CPU_MASK_NONE, "cascade", NULL, NULL};
+static struct irqaction irq2 = {
+ .handler = no_action,
+ .mask = CPU_MASK_NONE,
+ .name = "cascade",
+};
/**
* intr_init_hook - post gate setup interrupt initialisation