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 | |
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')
-rw-r--r-- | arch/mips/momentum/ocelot_c/cpci-irq.c | 15 | ||||
-rw-r--r-- | arch/mips/momentum/ocelot_c/uart-irq.c | 15 |
2 files changed, 14 insertions, 16 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) |
diff --git a/arch/mips/momentum/ocelot_c/uart-irq.c b/arch/mips/momentum/ocelot_c/uart-irq.c index ebe1507b17df..755bde5146be 100644 --- a/arch/mips/momentum/ocelot_c/uart-irq.c +++ b/arch/mips/momentum/ocelot_c/uart-irq.c | |||
@@ -122,14 +122,13 @@ void ll_uart_irq(struct pt_regs *regs) | |||
122 | #define shutdown_uart_irq disable_uart_irq | 122 | #define shutdown_uart_irq disable_uart_irq |
123 | 123 | ||
124 | struct hw_interrupt_type uart_irq_type = { | 124 | struct hw_interrupt_type uart_irq_type = { |
125 | "UART/FPGA", | 125 | .typename = "UART/FPGA", |
126 | startup_uart_irq, | 126 | .startup = startup_uart_irq, |
127 | shutdown_uart_irq, | 127 | .shutdown = shutdown_uart_irq, |
128 | enable_uart_irq, | 128 | .enable = enable_uart_irq, |
129 | disable_uart_irq, | 129 | .disable = disable_uart_irq, |
130 | mask_and_ack_uart_irq, | 130 | .ack = mask_and_ack_uart_irq, |
131 | end_uart_irq, | 131 | .end = end_uart_irq, |
132 | NULL | ||
133 | }; | 132 | }; |
134 | 133 | ||
135 | void uart_irq_init(void) | 134 | void uart_irq_init(void) |