diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2005-02-28 08:39:57 -0500 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2005-10-29 14:30:46 -0400 |
commit | 8ab00b9a02c55fd6263c5f7c0dc88389d94de327 (patch) | |
tree | 0893140cd9b2c80198950f3cd1b8053f951ca729 /arch/mips/kernel/irq-msc01.c | |
parent | d437441ef5336874e934bd53a03159a584efe95a (diff) |
Convert struct hw_interrupt_type initializations to ISO C99 named
initializers.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/kernel/irq-msc01.c')
-rw-r--r-- | arch/mips/kernel/irq-msc01.c | 30 |
1 files changed, 14 insertions, 16 deletions
diff --git a/arch/mips/kernel/irq-msc01.c b/arch/mips/kernel/irq-msc01.c index 43c00ac0b88d..bf759e33c5ef 100644 --- a/arch/mips/kernel/irq-msc01.c +++ b/arch/mips/kernel/irq-msc01.c | |||
@@ -129,25 +129,23 @@ msc_bind_eic_interrupt (unsigned int irq, unsigned int set) | |||
129 | #define shutdown_msc_irq disable_msc_irq | 129 | #define shutdown_msc_irq disable_msc_irq |
130 | 130 | ||
131 | struct hw_interrupt_type msc_levelirq_type = { | 131 | struct hw_interrupt_type msc_levelirq_type = { |
132 | "SOC-it-Level", | 132 | .typename = "SOC-it-Level", |
133 | startup_msc_irq, | 133 | .startup = startup_msc_irq, |
134 | shutdown_msc_irq, | 134 | .shutdown = shutdown_msc_irq, |
135 | enable_msc_irq, | 135 | .enable = enable_msc_irq, |
136 | disable_msc_irq, | 136 | .disable = disable_msc_irq, |
137 | level_mask_and_ack_msc_irq, | 137 | .ack = level_mask_and_ack_msc_irq, |
138 | end_msc_irq, | 138 | .end = end_msc_irq, |
139 | NULL | ||
140 | }; | 139 | }; |
141 | 140 | ||
142 | struct hw_interrupt_type msc_edgeirq_type = { | 141 | struct hw_interrupt_type msc_edgeirq_type = { |
143 | "SOC-it-Edge", | 142 | .typename = "SOC-it-Edge", |
144 | startup_msc_irq, | 143 | .startup =startup_msc_irq, |
145 | shutdown_msc_irq, | 144 | .shutdown = shutdown_msc_irq, |
146 | enable_msc_irq, | 145 | .enable = enable_msc_irq, |
147 | disable_msc_irq, | 146 | .disable = disable_msc_irq, |
148 | edge_mask_and_ack_msc_irq, | 147 | .ack = edge_mask_and_ack_msc_irq, |
149 | end_msc_irq, | 148 | .end = end_msc_irq, |
150 | NULL | ||
151 | }; | 149 | }; |
152 | 150 | ||
153 | 151 | ||