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-rm9000.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-rm9000.c')
-rw-r--r-- | arch/mips/kernel/irq-rm9000.c | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/arch/mips/kernel/irq-rm9000.c b/arch/mips/kernel/irq-rm9000.c index bdd130296256..9b5f20c32acb 100644 --- a/arch/mips/kernel/irq-rm9000.c +++ b/arch/mips/kernel/irq-rm9000.c | |||
@@ -106,23 +106,23 @@ static void rm9k_cpu_irq_end(unsigned int irq) | |||
106 | } | 106 | } |
107 | 107 | ||
108 | static hw_irq_controller rm9k_irq_controller = { | 108 | static hw_irq_controller rm9k_irq_controller = { |
109 | "RM9000", | 109 | .typename = "RM9000", |
110 | rm9k_cpu_irq_startup, | 110 | .startup = rm9k_cpu_irq_startup, |
111 | rm9k_cpu_irq_shutdown, | 111 | .shutdown = rm9k_cpu_irq_shutdown, |
112 | rm9k_cpu_irq_enable, | 112 | .enable = rm9k_cpu_irq_enable, |
113 | rm9k_cpu_irq_disable, | 113 | .disable = rm9k_cpu_irq_disable, |
114 | rm9k_cpu_irq_ack, | 114 | .ack = rm9k_cpu_irq_ack, |
115 | rm9k_cpu_irq_end, | 115 | .end = rm9k_cpu_irq_end, |
116 | }; | 116 | }; |
117 | 117 | ||
118 | static hw_irq_controller rm9k_perfcounter_irq = { | 118 | static hw_irq_controller rm9k_perfcounter_irq = { |
119 | "RM9000", | 119 | .typename = "RM9000", |
120 | rm9k_perfcounter_irq_startup, | 120 | .startup = rm9k_perfcounter_irq_startup, |
121 | rm9k_perfcounter_irq_shutdown, | 121 | .shutdown = rm9k_perfcounter_irq_shutdown, |
122 | rm9k_cpu_irq_enable, | 122 | .enable = rm9k_cpu_irq_enable, |
123 | rm9k_cpu_irq_disable, | 123 | .disable = rm9k_cpu_irq_disable, |
124 | rm9k_cpu_irq_ack, | 124 | .ack = rm9k_cpu_irq_ack, |
125 | rm9k_cpu_irq_end, | 125 | .end = rm9k_cpu_irq_end, |
126 | }; | 126 | }; |
127 | 127 | ||
128 | unsigned int rm9000_perfcount_irq; | 128 | unsigned int rm9000_perfcount_irq; |