diff options
author | Hirokazu Takata <takata@linux-m32r.org> | 2005-06-21 20:16:13 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-06-21 22:07:30 -0400 |
commit | 6f973b001a9b511900fb73d816adf77d8755838c (patch) | |
tree | afe857801e8afcda19ba84fb4961abd050ee6cf6 /arch/m32r | |
parent | 2368086344c3d67b0f4aecac39d620fb9b8795c3 (diff) |
[PATCH] m32r: Update setup_xxxxx.c
Change coding styles of hw_interrupt_type struct's initialization portions.
Signed-off-by: Hirokazu Takata <takata@linux-m32r.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/m32r')
-rw-r--r-- | arch/m32r/kernel/setup_m32700ut.c | 56 | ||||
-rw-r--r-- | arch/m32r/kernel/setup_mappi.c | 14 | ||||
-rw-r--r-- | arch/m32r/kernel/setup_mappi2.c | 14 | ||||
-rw-r--r-- | arch/m32r/kernel/setup_mappi3.c | 14 | ||||
-rw-r--r-- | arch/m32r/kernel/setup_oaks32r.c | 14 | ||||
-rw-r--r-- | arch/m32r/kernel/setup_opsput.c | 28 | ||||
-rw-r--r-- | arch/m32r/kernel/setup_usrv.c | 28 |
7 files changed, 84 insertions, 84 deletions
diff --git a/arch/m32r/kernel/setup_m32700ut.c b/arch/m32r/kernel/setup_m32700ut.c index 488aa87bab76..b014e2c1e524 100644 --- a/arch/m32r/kernel/setup_m32700ut.c +++ b/arch/m32r/kernel/setup_m32700ut.c | |||
@@ -78,13 +78,13 @@ static void shutdown_m32700ut_irq(unsigned int irq) | |||
78 | 78 | ||
79 | static struct hw_interrupt_type m32700ut_irq_type = | 79 | static struct hw_interrupt_type m32700ut_irq_type = |
80 | { | 80 | { |
81 | "M32700UT-IRQ", | 81 | .typename = "M32700UT-IRQ", |
82 | startup_m32700ut_irq, | 82 | .startup = startup_m32700ut_irq, |
83 | shutdown_m32700ut_irq, | 83 | .shutdown = shutdown_m32700ut_irq, |
84 | enable_m32700ut_irq, | 84 | .enable = enable_m32700ut_irq, |
85 | disable_m32700ut_irq, | 85 | .disable = disable_m32700ut_irq, |
86 | mask_and_ack_m32700ut, | 86 | .ack = mask_and_ack_m32700ut, |
87 | end_m32700ut_irq | 87 | .end = end_m32700ut_irq |
88 | }; | 88 | }; |
89 | 89 | ||
90 | /* | 90 | /* |
@@ -155,13 +155,13 @@ static void shutdown_m32700ut_pld_irq(unsigned int irq) | |||
155 | 155 | ||
156 | static struct hw_interrupt_type m32700ut_pld_irq_type = | 156 | static struct hw_interrupt_type m32700ut_pld_irq_type = |
157 | { | 157 | { |
158 | "M32700UT-PLD-IRQ", | 158 | .typename = "M32700UT-PLD-IRQ", |
159 | startup_m32700ut_pld_irq, | 159 | .startup = startup_m32700ut_pld_irq, |
160 | shutdown_m32700ut_pld_irq, | 160 | .shutdown = shutdown_m32700ut_pld_irq, |
161 | enable_m32700ut_pld_irq, | 161 | .enable = enable_m32700ut_pld_irq, |
162 | disable_m32700ut_pld_irq, | 162 | .disable = disable_m32700ut_pld_irq, |
163 | mask_and_ack_m32700ut_pld, | 163 | .ack = mask_and_ack_m32700ut_pld, |
164 | end_m32700ut_pld_irq | 164 | .end = end_m32700ut_pld_irq |
165 | }; | 165 | }; |
166 | 166 | ||
167 | /* | 167 | /* |
@@ -224,13 +224,13 @@ static void shutdown_m32700ut_lanpld_irq(unsigned int irq) | |||
224 | 224 | ||
225 | static struct hw_interrupt_type m32700ut_lanpld_irq_type = | 225 | static struct hw_interrupt_type m32700ut_lanpld_irq_type = |
226 | { | 226 | { |
227 | "M32700UT-PLD-LAN-IRQ", | 227 | .typename = "M32700UT-PLD-LAN-IRQ", |
228 | startup_m32700ut_lanpld_irq, | 228 | .startup = startup_m32700ut_lanpld_irq, |
229 | shutdown_m32700ut_lanpld_irq, | 229 | .shutdown = shutdown_m32700ut_lanpld_irq, |
230 | enable_m32700ut_lanpld_irq, | 230 | .enable = enable_m32700ut_lanpld_irq, |
231 | disable_m32700ut_lanpld_irq, | 231 | .disable = disable_m32700ut_lanpld_irq, |
232 | mask_and_ack_m32700ut_lanpld, | 232 | .ack = mask_and_ack_m32700ut_lanpld, |
233 | end_m32700ut_lanpld_irq | 233 | .end = end_m32700ut_lanpld_irq |
234 | }; | 234 | }; |
235 | 235 | ||
236 | /* | 236 | /* |
@@ -293,13 +293,13 @@ static void shutdown_m32700ut_lcdpld_irq(unsigned int irq) | |||
293 | 293 | ||
294 | static struct hw_interrupt_type m32700ut_lcdpld_irq_type = | 294 | static struct hw_interrupt_type m32700ut_lcdpld_irq_type = |
295 | { | 295 | { |
296 | "M32700UT-PLD-LCD-IRQ", | 296 | .typename = "M32700UT-PLD-LCD-IRQ", |
297 | startup_m32700ut_lcdpld_irq, | 297 | .startup = startup_m32700ut_lcdpld_irq, |
298 | shutdown_m32700ut_lcdpld_irq, | 298 | .shutdown = shutdown_m32700ut_lcdpld_irq, |
299 | enable_m32700ut_lcdpld_irq, | 299 | .enable = enable_m32700ut_lcdpld_irq, |
300 | disable_m32700ut_lcdpld_irq, | 300 | .disable = disable_m32700ut_lcdpld_irq, |
301 | mask_and_ack_m32700ut_lcdpld, | 301 | .ack = mask_and_ack_m32700ut_lcdpld, |
302 | end_m32700ut_lcdpld_irq | 302 | .end = end_m32700ut_lcdpld_irq |
303 | }; | 303 | }; |
304 | 304 | ||
305 | void __init init_IRQ(void) | 305 | void __init init_IRQ(void) |
diff --git a/arch/m32r/kernel/setup_mappi.c b/arch/m32r/kernel/setup_mappi.c index 1e74110f0670..aaf8e569b930 100644 --- a/arch/m32r/kernel/setup_mappi.c +++ b/arch/m32r/kernel/setup_mappi.c | |||
@@ -70,13 +70,13 @@ static void shutdown_mappi_irq(unsigned int irq) | |||
70 | 70 | ||
71 | static struct hw_interrupt_type mappi_irq_type = | 71 | static struct hw_interrupt_type mappi_irq_type = |
72 | { | 72 | { |
73 | "MAPPI-IRQ", | 73 | .typename = "MAPPI-IRQ", |
74 | startup_mappi_irq, | 74 | .startup = startup_mappi_irq, |
75 | shutdown_mappi_irq, | 75 | .shutdown = shutdown_mappi_irq, |
76 | enable_mappi_irq, | 76 | .enable = enable_mappi_irq, |
77 | disable_mappi_irq, | 77 | .disable = disable_mappi_irq, |
78 | mask_and_ack_mappi, | 78 | .ack = mask_and_ack_mappi, |
79 | end_mappi_irq | 79 | .end = end_mappi_irq |
80 | }; | 80 | }; |
81 | 81 | ||
82 | void __init init_IRQ(void) | 82 | void __init init_IRQ(void) |
diff --git a/arch/m32r/kernel/setup_mappi2.c b/arch/m32r/kernel/setup_mappi2.c index 248fc658dbd5..38d5e9a41427 100644 --- a/arch/m32r/kernel/setup_mappi2.c +++ b/arch/m32r/kernel/setup_mappi2.c | |||
@@ -79,13 +79,13 @@ static void shutdown_mappi2_irq(unsigned int irq) | |||
79 | 79 | ||
80 | static struct hw_interrupt_type mappi2_irq_type = | 80 | static struct hw_interrupt_type mappi2_irq_type = |
81 | { | 81 | { |
82 | "MAPPI2-IRQ", | 82 | .typename = "MAPPI2-IRQ", |
83 | startup_mappi2_irq, | 83 | .startup = startup_mappi2_irq, |
84 | shutdown_mappi2_irq, | 84 | .shutdown = shutdown_mappi2_irq, |
85 | enable_mappi2_irq, | 85 | .enable = enable_mappi2_irq, |
86 | disable_mappi2_irq, | 86 | .disable = disable_mappi2_irq, |
87 | mask_and_ack_mappi2, | 87 | .ack = mask_and_ack_mappi2, |
88 | end_mappi2_irq | 88 | .end = end_mappi2_irq |
89 | }; | 89 | }; |
90 | 90 | ||
91 | void __init init_IRQ(void) | 91 | void __init init_IRQ(void) |
diff --git a/arch/m32r/kernel/setup_mappi3.c b/arch/m32r/kernel/setup_mappi3.c index 72b5b7609cea..3d60a85aaec5 100644 --- a/arch/m32r/kernel/setup_mappi3.c +++ b/arch/m32r/kernel/setup_mappi3.c | |||
@@ -79,13 +79,13 @@ static void shutdown_mappi3_irq(unsigned int irq) | |||
79 | 79 | ||
80 | static struct hw_interrupt_type mappi3_irq_type = | 80 | static struct hw_interrupt_type mappi3_irq_type = |
81 | { | 81 | { |
82 | "MAPPI3-IRQ", | 82 | .typename = "MAPPI3-IRQ", |
83 | startup_mappi3_irq, | 83 | .startup = startup_mappi3_irq, |
84 | shutdown_mappi3_irq, | 84 | .shutdown = shutdown_mappi3_irq, |
85 | enable_mappi3_irq, | 85 | .enable = enable_mappi3_irq, |
86 | disable_mappi3_irq, | 86 | .disable = disable_mappi3_irq, |
87 | mask_and_ack_mappi3, | 87 | .ack = mask_and_ack_mappi3, |
88 | end_mappi3_irq | 88 | .end = end_mappi3_irq |
89 | }; | 89 | }; |
90 | 90 | ||
91 | void __init init_IRQ(void) | 91 | void __init init_IRQ(void) |
diff --git a/arch/m32r/kernel/setup_oaks32r.c b/arch/m32r/kernel/setup_oaks32r.c index b04834526c9a..d656640badc9 100644 --- a/arch/m32r/kernel/setup_oaks32r.c +++ b/arch/m32r/kernel/setup_oaks32r.c | |||
@@ -70,13 +70,13 @@ static void shutdown_oaks32r_irq(unsigned int irq) | |||
70 | 70 | ||
71 | static struct hw_interrupt_type oaks32r_irq_type = | 71 | static struct hw_interrupt_type oaks32r_irq_type = |
72 | { | 72 | { |
73 | "OAKS32R-IRQ", | 73 | .typename = "OAKS32R-IRQ", |
74 | startup_oaks32r_irq, | 74 | .startup = startup_oaks32r_irq, |
75 | shutdown_oaks32r_irq, | 75 | .shutdown = shutdown_oaks32r_irq, |
76 | enable_oaks32r_irq, | 76 | .enable = enable_oaks32r_irq, |
77 | disable_oaks32r_irq, | 77 | .disable = disable_oaks32r_irq, |
78 | mask_and_ack_mappi, | 78 | .ack = mask_and_ack_mappi, |
79 | end_oaks32r_irq | 79 | .end = end_oaks32r_irq |
80 | }; | 80 | }; |
81 | 81 | ||
82 | void __init init_IRQ(void) | 82 | void __init init_IRQ(void) |
diff --git a/arch/m32r/kernel/setup_opsput.c b/arch/m32r/kernel/setup_opsput.c index 84315e344c58..86f4cf2a86c3 100644 --- a/arch/m32r/kernel/setup_opsput.c +++ b/arch/m32r/kernel/setup_opsput.c | |||
@@ -79,13 +79,13 @@ static void shutdown_opsput_irq(unsigned int irq) | |||
79 | 79 | ||
80 | static struct hw_interrupt_type opsput_irq_type = | 80 | static struct hw_interrupt_type opsput_irq_type = |
81 | { | 81 | { |
82 | "OPSPUT-IRQ", | 82 | .typename = "OPSPUT-IRQ", |
83 | startup_opsput_irq, | 83 | .startup = startup_opsput_irq, |
84 | shutdown_opsput_irq, | 84 | .shutdown = shutdown_opsput_irq, |
85 | enable_opsput_irq, | 85 | .enable = enable_opsput_irq, |
86 | disable_opsput_irq, | 86 | .disable = disable_opsput_irq, |
87 | mask_and_ack_opsput, | 87 | .ack = mask_and_ack_opsput, |
88 | end_opsput_irq | 88 | .end = end_opsput_irq |
89 | }; | 89 | }; |
90 | 90 | ||
91 | /* | 91 | /* |
@@ -156,13 +156,13 @@ static void shutdown_opsput_pld_irq(unsigned int irq) | |||
156 | 156 | ||
157 | static struct hw_interrupt_type opsput_pld_irq_type = | 157 | static struct hw_interrupt_type opsput_pld_irq_type = |
158 | { | 158 | { |
159 | "OPSPUT-PLD-IRQ", | 159 | .typename = "OPSPUT-PLD-IRQ", |
160 | startup_opsput_pld_irq, | 160 | .startup = startup_opsput_pld_irq, |
161 | shutdown_opsput_pld_irq, | 161 | .shutdown = shutdown_opsput_pld_irq, |
162 | enable_opsput_pld_irq, | 162 | .enable = enable_opsput_pld_irq, |
163 | disable_opsput_pld_irq, | 163 | .disable = disable_opsput_pld_irq, |
164 | mask_and_ack_opsput_pld, | 164 | .ack = mask_and_ack_opsput_pld, |
165 | end_opsput_pld_irq | 165 | .end = end_opsput_pld_irq |
166 | }; | 166 | }; |
167 | 167 | ||
168 | /* | 168 | /* |
diff --git a/arch/m32r/kernel/setup_usrv.c b/arch/m32r/kernel/setup_usrv.c index fe417be5e3e9..634741bf9d35 100644 --- a/arch/m32r/kernel/setup_usrv.c +++ b/arch/m32r/kernel/setup_usrv.c | |||
@@ -70,13 +70,13 @@ static void shutdown_mappi_irq(unsigned int irq) | |||
70 | 70 | ||
71 | static struct hw_interrupt_type mappi_irq_type = | 71 | static struct hw_interrupt_type mappi_irq_type = |
72 | { | 72 | { |
73 | "M32700-IRQ", | 73 | .typename = "M32700-IRQ", |
74 | startup_mappi_irq, | 74 | .startup = startup_mappi_irq, |
75 | shutdown_mappi_irq, | 75 | .shutdown = shutdown_mappi_irq, |
76 | enable_mappi_irq, | 76 | .enable = enable_mappi_irq, |
77 | disable_mappi_irq, | 77 | .disable = disable_mappi_irq, |
78 | mask_and_ack_mappi, | 78 | .ack = mask_and_ack_mappi, |
79 | end_mappi_irq | 79 | .end = end_mappi_irq |
80 | }; | 80 | }; |
81 | 81 | ||
82 | /* | 82 | /* |
@@ -143,13 +143,13 @@ static void shutdown_m32700ut_pld_irq(unsigned int irq) | |||
143 | 143 | ||
144 | static struct hw_interrupt_type m32700ut_pld_irq_type = | 144 | static struct hw_interrupt_type m32700ut_pld_irq_type = |
145 | { | 145 | { |
146 | "USRV-PLD-IRQ", | 146 | .typename = "USRV-PLD-IRQ", |
147 | startup_m32700ut_pld_irq, | 147 | .startup = startup_m32700ut_pld_irq, |
148 | shutdown_m32700ut_pld_irq, | 148 | .shutdown = shutdown_m32700ut_pld_irq, |
149 | enable_m32700ut_pld_irq, | 149 | .enable = enable_m32700ut_pld_irq, |
150 | disable_m32700ut_pld_irq, | 150 | .disable = disable_m32700ut_pld_irq, |
151 | mask_and_ack_m32700ut_pld, | 151 | .ack = mask_and_ack_m32700ut_pld, |
152 | end_m32700ut_pld_irq | 152 | .end = end_m32700ut_pld_irq |
153 | }; | 153 | }; |
154 | 154 | ||
155 | void __init init_IRQ(void) | 155 | void __init init_IRQ(void) |