Convert the initializers of hw_interrupt_type structures to C99 initializers.
Signed-off-by: Thomas Gleixner <[EMAIL PROTECTED]>
---
irq.c | 16 ++++++++--------
1 files changed, 8 insertions(+), 8 deletions(-)
---
diff -urN 2.6.11-rc5.orig/arch/ia64/sn/kernel/irq.c
2.6.11-rc5/arch/ia64/sn/kernel/irq.c
--- 2.6.11-rc5.orig/arch/ia64/sn/kernel/irq.c 2005-02-14 11:01:04.000000000
+0100
+++ 2.6.11-rc5/arch/ia64/sn/kernel/irq.c 2005-02-26 20:54:19.000000000
+0100
@@ -194,14 +194,14 @@
}
struct hw_interrupt_type irq_type_sn = {
- "SN hub",
- sn_startup_irq,
- sn_shutdown_irq,
- sn_enable_irq,
- sn_disable_irq,
- sn_ack_irq,
- sn_end_irq,
- sn_set_affinity_irq
+ .typename = "SN hub",
+ .startup = sn_startup_irq,
+ .shutdown = sn_shutdown_irq,
+ .enable = sn_enable_irq,
+ .disable = sn_disable_irq,
+ .ack = sn_ack_irq,
+ .end = sn_end_irq,
+ .set_affinity = sn_set_affinity_irq
};
unsigned int sn_local_vector_to_irq(u8 vector)
-
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/