aboutsummaryrefslogtreecommitdiff
path: root/arch/sh/boards/superh
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2005-09-10 00:26:42 -0700
committerLinus Torvalds <torvalds@g5.osdl.org>2005-09-10 10:06:27 -0700
commit08d0fd07c3f0b6e561260f0b078d03d6fa1ac59f (patch)
tree7b3a127baae49a37952a8c015fe24e9567bce2a8 /arch/sh/boards/superh
parent2830e21eb3c600865245478cd7a28ae73191b6b7 (diff)
[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/boards/superh')
-rw-r--r--arch/sh/boards/superh/microdev/irq.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/arch/sh/boards/superh/microdev/irq.c b/arch/sh/boards/superh/microdev/irq.c
index 1298883eca4..1395c1e65da 100644
--- a/arch/sh/boards/superh/microdev/irq.c
+++ b/arch/sh/boards/superh/microdev/irq.c
@@ -83,13 +83,13 @@ static unsigned int startup_microdev_irq(unsigned int irq)
}
static struct hw_interrupt_type microdev_irq_type = {
- "MicroDev-IRQ",
- startup_microdev_irq,
- shutdown_microdev_irq,
- enable_microdev_irq,
- disable_microdev_irq,
- mask_and_ack_microdev,
- end_microdev_irq
+ .typename = "MicroDev-IRQ",
+ .startup = startup_microdev_irq,
+ .shutdown = shutdown_microdev_irq,
+ .enable = enable_microdev_irq,
+ .disable = disable_microdev_irq,
+ .ack = mask_and_ack_microdev,
+ .end = end_microdev_irq
};
static void disable_microdev_irq(unsigned int irq)