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/momentum/ocelot_c/cpci-irq.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/momentum/ocelot_c/cpci-irq.c')
-rw-r--r-- | arch/mips/momentum/ocelot_c/cpci-irq.c | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/arch/mips/momentum/ocelot_c/cpci-irq.c b/arch/mips/momentum/ocelot_c/cpci-irq.c index dea48b3ad687..bd885785e2f9 100644 --- a/arch/mips/momentum/ocelot_c/cpci-irq.c +++ b/arch/mips/momentum/ocelot_c/cpci-irq.c | |||
@@ -129,14 +129,13 @@ void ll_cpci_irq(struct pt_regs *regs) | |||
129 | #define shutdown_cpci_irq disable_cpci_irq | 129 | #define shutdown_cpci_irq disable_cpci_irq |
130 | 130 | ||
131 | struct hw_interrupt_type cpci_irq_type = { | 131 | struct hw_interrupt_type cpci_irq_type = { |
132 | "CPCI/FPGA", | 132 | .typename = "CPCI/FPGA", |
133 | startup_cpci_irq, | 133 | .startup = startup_cpci_irq, |
134 | shutdown_cpci_irq, | 134 | .shutdown = shutdown_cpci_irq, |
135 | enable_cpci_irq, | 135 | .enable = enable_cpci_irq, |
136 | disable_cpci_irq, | 136 | .disable = disable_cpci_irq, |
137 | mask_and_ack_cpci_irq, | 137 | .ack = mask_and_ack_cpci_irq, |
138 | end_cpci_irq, | 138 | .end = end_cpci_irq, |
139 | NULL | ||
140 | }; | 139 | }; |
141 | 140 | ||
142 | void cpci_irq_init(void) | 141 | void cpci_irq_init(void) |