summaryrefslogtreecommitdiffstats
path: root/arch/v850/kernel/sim.c
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2005-09-10 00:26:43 -0700
committerLinus Torvalds <torvalds@g5.osdl.org>2005-09-10 10:06:27 -0700
commitaecd4568ac8abcedc1e46fc3804439ac8e1b8ff4 (patch)
treeab01f6f06470e5cb53472f62d27db9b6c1b793cd /arch/v850/kernel/sim.c
parent08d0fd07c3f0b6e561260f0b078d03d6fa1ac59f (diff)
downloadop-kernel-dev-aecd4568ac8abcedc1e46fc3804439ac8e1b8ff4.zip
op-kernel-dev-aecd4568ac8abcedc1e46fc3804439ac8e1b8ff4.tar.gz
[PATCH] V850: C99 initializers for hw_interrupt_type structures
Convert the initializers of hw_interrupt_type structures to C99 initializers. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/v850/kernel/sim.c')
-rw-r--r--arch/v850/kernel/sim.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/arch/v850/kernel/sim.c b/arch/v850/kernel/sim.c
index e2cc558..17049aa 100644
--- a/arch/v850/kernel/sim.c
+++ b/arch/v850/kernel/sim.c
@@ -73,13 +73,13 @@ static void irq_nop (unsigned irq) { }
static unsigned irq_zero (unsigned irq) { return 0; }
static struct hw_interrupt_type sim_irq_type = {
- "IRQ",
- irq_zero, /* startup */
- irq_nop, /* shutdown */
- irq_nop, /* enable */
- irq_nop, /* disable */
- irq_nop, /* ack */
- irq_nop, /* end */
+ .typename = "IRQ",
+ .startup = irq_zero, /* startup */
+ .shutdown = irq_nop, /* shutdown */
+ .enable = irq_nop, /* enable */
+ .disable = irq_nop, /* disable */
+ .ack = irq_nop, /* ack */
+ .end = irq_nop, /* end */
};
void __init mach_init_irqs (void)
OpenPOWER on IntegriCloud