Convert the initializers of hw_interrupt_type structures to C99 initializers.

Signed-off-by: Thomas Gleixner <[EMAIL PROTECTED]>

---
 i8259.c |   15 +++++++--------
 1 files changed, 7 insertions(+), 8 deletions(-)
---
diff -urN 2.6.11-rc5.orig/arch/x86_64/kernel/i8259.c 
2.6.11-rc5/arch/x86_64/kernel/i8259.c
--- 2.6.11-rc5.orig/arch/x86_64/kernel/i8259.c  2005-01-24 12:25:39.000000000 
+0100
+++ 2.6.11-rc5/arch/x86_64/kernel/i8259.c       2005-02-26 20:54:19.000000000 
+0100
@@ -157,14 +157,13 @@
 }
 
 static struct hw_interrupt_type i8259A_irq_type = {
-       "XT-PIC",
-       startup_8259A_irq,
-       shutdown_8259A_irq,
-       enable_8259A_irq,
-       disable_8259A_irq,
-       mask_and_ack_8259A,
-       end_8259A_irq,
-       NULL
+       .typename = "XT-PIC",
+       .startup = startup_8259A_irq,
+       .shutdown = shutdown_8259A_irq,
+       .enable = enable_8259A_irq,
+       .disable = disable_8259A_irq,
+       .ack = mask_and_ack_8259A,
+       .end = end_8259A_irq,
 };
 
 /*
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to