diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2005-09-10 03:26:43 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-09-10 13:06:27 -0400 |
commit | aecd4568ac8abcedc1e46fc3804439ac8e1b8ff4 (patch) | |
tree | ab01f6f06470e5cb53472f62d27db9b6c1b793cd /arch/v850/kernel/sim.c | |
parent | 08d0fd07c3f0b6e561260f0b078d03d6fa1ac59f (diff) |
[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.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/arch/v850/kernel/sim.c b/arch/v850/kernel/sim.c index e2cc5580fa2a..17049aaa8f11 100644 --- a/arch/v850/kernel/sim.c +++ b/arch/v850/kernel/sim.c | |||
@@ -73,13 +73,13 @@ static void irq_nop (unsigned irq) { } | |||
73 | static unsigned irq_zero (unsigned irq) { return 0; } | 73 | static unsigned irq_zero (unsigned irq) { return 0; } |
74 | 74 | ||
75 | static struct hw_interrupt_type sim_irq_type = { | 75 | static struct hw_interrupt_type sim_irq_type = { |
76 | "IRQ", | 76 | .typename = "IRQ", |
77 | irq_zero, /* startup */ | 77 | .startup = irq_zero, /* startup */ |
78 | irq_nop, /* shutdown */ | 78 | .shutdown = irq_nop, /* shutdown */ |
79 | irq_nop, /* enable */ | 79 | .enable = irq_nop, /* enable */ |
80 | irq_nop, /* disable */ | 80 | .disable = irq_nop, /* disable */ |
81 | irq_nop, /* ack */ | 81 | .ack = irq_nop, /* ack */ |
82 | irq_nop, /* end */ | 82 | .end = irq_nop, /* end */ |
83 | }; | 83 | }; |
84 | 84 | ||
85 | void __init mach_init_irqs (void) | 85 | void __init mach_init_irqs (void) |