lkml.org 
[lkml]   [2005]   [Jul]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Subject[PATCH] SH64: [PATCH resend] C99 initializers for hw_interrupt_type structures
Date
From
Convert the initializers of hw_interrupt_type structures to C99 initializers.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>

---
irq_intc.c | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
---
diff -urN --exclude='*~' linux-2.6.13-rc2/arch/sh64/kernel/irq_intc.c linux-2.6.13-rc2-armirq/arch/sh64/kernel/irq_intc.c
--- linux-2.6.13-rc2/arch/sh64/kernel/irq_intc.c 2005-07-09 13:04:23.000000000 +0200
+++ linux-2.6.13-rc2-armirq/arch/sh64/kernel/irq_intc.c 2005-07-09 13:10:42.000000000 +0200
@@ -107,13 +107,13 @@
static void end_intc_irq(unsigned int irq);

static struct hw_interrupt_type intc_irq_type = {
- "INTC",
- startup_intc_irq,
- shutdown_intc_irq,
- enable_intc_irq,
- disable_intc_irq,
- mask_and_ack_intc,
- end_intc_irq
+ .typename = "INTC",
+ .startup = startup_intc_irq,
+ .shutdown = shutdown_intc_irq,
+ .enable = enable_intc_irq,
+ .disable = disable_intc_irq,
+ .ack = mask_and_ack_intc,
+ .end = end_intc_irq
};

static int irlm; /* IRL mode */
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2005-07-10 23:58    [W:1.570 / U:0.008 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site