Convert the initializers of hw_interrupt_type structures to C99 initializers.
Signed-off-by: Thomas Gleixner <[EMAIL PROTECTED]> --- i8259.c | 13 +++++-------- 1 files changed, 5 insertions(+), 8 deletions(-) --- diff -urN 2.6.11-rc5.orig/arch/ppc64/kernel/i8259.c 2.6.11-rc5/arch/ppc64/kernel/i8259.c --- 2.6.11-rc5.orig/arch/ppc64/kernel/i8259.c 2005-01-24 12:25:36.000000000 +0100 +++ 2.6.11-rc5/arch/ppc64/kernel/i8259.c 2005-02-26 20:54:19.000000000 +0100 @@ -131,14 +131,11 @@ } 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) - 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/