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/sibyte/sb1250 | |
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/sibyte/sb1250')
-rw-r--r-- | arch/mips/sibyte/sb1250/irq.c | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/arch/mips/sibyte/sb1250/irq.c b/arch/mips/sibyte/sb1250/irq.c index a62cba9f32ba..b9f1ff420fef 100644 --- a/arch/mips/sibyte/sb1250/irq.c +++ b/arch/mips/sibyte/sb1250/irq.c | |||
@@ -71,17 +71,15 @@ extern char sb1250_duart_present[]; | |||
71 | #endif | 71 | #endif |
72 | 72 | ||
73 | static struct hw_interrupt_type sb1250_irq_type = { | 73 | static struct hw_interrupt_type sb1250_irq_type = { |
74 | "SB1250-IMR", | 74 | .typename = "SB1250-IMR", |
75 | startup_sb1250_irq, | 75 | .startup = startup_sb1250_irq, |
76 | shutdown_sb1250_irq, | 76 | .shutdown = shutdown_sb1250_irq, |
77 | enable_sb1250_irq, | 77 | .enable = enable_sb1250_irq, |
78 | disable_sb1250_irq, | 78 | .disable = disable_sb1250_irq, |
79 | ack_sb1250_irq, | 79 | .ack = ack_sb1250_irq, |
80 | end_sb1250_irq, | 80 | .end = end_sb1250_irq, |
81 | #ifdef CONFIG_SMP | 81 | #ifdef CONFIG_SMP |
82 | sb1250_set_affinity | 82 | .set_affinity = sb1250_set_affinity |
83 | #else | ||
84 | NULL | ||
85 | #endif | 83 | #endif |
86 | }; | 84 | }; |
87 | 85 | ||