diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2005-09-10 07:26:42 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-09-10 17:06:27 (GMT) |
commit | 08d0fd07c3f0b6e561260f0b078d03d6fa1ac59f (patch) | |
tree | 7b3a127baae49a37952a8c015fe24e9567bce2a8 /arch/sh/kernel/cpu/sh4/irq_intc2.c | |
parent | 2830e21eb3c600865245478cd7a28ae73191b6b7 (diff) | |
download | linux-fsl-qoriq-08d0fd07c3f0b6e561260f0b078d03d6fa1ac59f.tar.xz |
[PATCH] SH: 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/sh/kernel/cpu/sh4/irq_intc2.c')
-rw-r--r-- | arch/sh/kernel/cpu/sh4/irq_intc2.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/arch/sh/kernel/cpu/sh4/irq_intc2.c b/arch/sh/kernel/cpu/sh4/irq_intc2.c index 099ebbf..f6b16ba 100644 --- a/arch/sh/kernel/cpu/sh4/irq_intc2.c +++ b/arch/sh/kernel/cpu/sh4/irq_intc2.c @@ -48,13 +48,13 @@ static unsigned int startup_intc2_irq(unsigned int irq) } static struct hw_interrupt_type intc2_irq_type = { - "INTC2-IRQ", - startup_intc2_irq, - shutdown_intc2_irq, - enable_intc2_irq, - disable_intc2_irq, - mask_and_ack_intc2, - end_intc2_irq + .typename = "INTC2-IRQ", + .startup = startup_intc2_irq, + .shutdown = shutdown_intc2_irq, + .enable = enable_intc2_irq, + .disable = disable_intc2_irq, + .ack = mask_and_ack_intc2, + .end = end_intc2_irq }; static void disable_intc2_irq(unsigned int irq) |