
From: Paul Mackerras <paulus@samba.org>

This patch is from Thomas Gleixner <tglx@linutronix.de>.

Convert the initializers of hw_interrupt_type structures to C99 initializers.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
---

 25-akpm/arch/ppc64/kernel/i8259.c |   13 +++++--------
 1 files changed, 5 insertions(+), 8 deletions(-)

diff -puN arch/ppc64/kernel/i8259.c~ppc64-c99-initializers-for-hw_interrupt_type arch/ppc64/kernel/i8259.c
--- 25/arch/ppc64/kernel/i8259.c~ppc64-c99-initializers-for-hw_interrupt_type	2005-03-07 20:41:25.000000000 -0800
+++ 25-akpm/arch/ppc64/kernel/i8259.c	2005-03-07 20:41:25.000000000 -0800
@@ -131,14 +131,11 @@ static void i8259_end_irq(unsigned int i
 }
 
 struct hw_interrupt_type i8259_pic = {
-        " i8259    ",
-        NULL,
-        NULL,
-        i8259_unmask_irq,
-        i8259_mask_irq,
-        i8259_mask_and_ack_irq,
-        i8259_end_irq,
-        NULL
+	.typename = " i8259    ",
+	.enable = i8259_unmask_irq,
+	.disable = i8259_mask_irq,
+	.ack = i8259_mask_and_ack_irq,
+	.end = i8259_end_irq,
 };
 
 void __init i8259_init(int offset)
_
