aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/kernel/cpu/sh4a/setup-sh7786.c
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2010-03-10 02:28:16 -0500
committerPaul Mundt <lethal@linux-sh.org>2010-03-10 02:28:16 -0500
commitec0ffe2ee0e0fb9da4409d86bfd72636450f32df (patch)
tree75ec1d3de64fbadb5ebe5179926eb608dcfb81b6 /arch/sh/kernel/cpu/sh4a/setup-sh7786.c
parent214a607a4f5bf5a14dab0304ba350cdaf3916795 (diff)
sh: Kill off all timer name clobbering.
Now that dev_name() can be used early, we no longer require a static string. Kill off all of the superfluous timer names. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/kernel/cpu/sh4a/setup-sh7786.c')
-rw-r--r--arch/sh/kernel/cpu/sh4a/setup-sh7786.c24
1 files changed, 0 insertions, 24 deletions
diff --git a/arch/sh/kernel/cpu/sh4a/setup-sh7786.c b/arch/sh/kernel/cpu/sh4a/setup-sh7786.c
index 7e585320710a..542ced88e50f 100644
--- a/arch/sh/kernel/cpu/sh4a/setup-sh7786.c
+++ b/arch/sh/kernel/cpu/sh4a/setup-sh7786.c
@@ -117,7 +117,6 @@ static struct platform_device scif5_device = {
117}; 117};
118 118
119static struct sh_timer_config tmu0_platform_data = { 119static struct sh_timer_config tmu0_platform_data = {
120 .name = "TMU0",
121 .channel_offset = 0x04, 120 .channel_offset = 0x04,
122 .timer_bit = 0, 121 .timer_bit = 0,
123 .clk = "peripheral_clk", 122 .clk = "peripheral_clk",
@@ -126,7 +125,6 @@ static struct sh_timer_config tmu0_platform_data = {
126 125
127static struct resource tmu0_resources[] = { 126static struct resource tmu0_resources[] = {
128 [0] = { 127 [0] = {
129 .name = "TMU0",
130 .start = 0xffd80008, 128 .start = 0xffd80008,
131 .end = 0xffd80013, 129 .end = 0xffd80013,
132 .flags = IORESOURCE_MEM, 130 .flags = IORESOURCE_MEM,
@@ -148,7 +146,6 @@ static struct platform_device tmu0_device = {
148}; 146};
149 147
150static struct sh_timer_config tmu1_platform_data = { 148static struct sh_timer_config tmu1_platform_data = {
151 .name = "TMU1",
152 .channel_offset = 0x10, 149 .channel_offset = 0x10,
153 .timer_bit = 1, 150 .timer_bit = 1,
154 .clk = "peripheral_clk", 151 .clk = "peripheral_clk",
@@ -157,7 +154,6 @@ static struct sh_timer_config tmu1_platform_data = {
157 154
158static struct resource tmu1_resources[] = { 155static struct resource tmu1_resources[] = {
159 [0] = { 156 [0] = {
160 .name = "TMU1",
161 .start = 0xffd80014, 157 .start = 0xffd80014,
162 .end = 0xffd8001f, 158 .end = 0xffd8001f,
163 .flags = IORESOURCE_MEM, 159 .flags = IORESOURCE_MEM,
@@ -179,7 +175,6 @@ static struct platform_device tmu1_device = {
179}; 175};
180 176
181static struct sh_timer_config tmu2_platform_data = { 177static struct sh_timer_config tmu2_platform_data = {
182 .name = "TMU2",
183 .channel_offset = 0x1c, 178 .channel_offset = 0x1c,
184 .timer_bit = 2, 179 .timer_bit = 2,
185 .clk = "peripheral_clk", 180 .clk = "peripheral_clk",
@@ -187,7 +182,6 @@ static struct sh_timer_config tmu2_platform_data = {
187 182
188static struct resource tmu2_resources[] = { 183static struct resource tmu2_resources[] = {
189 [0] = { 184 [0] = {
190 .name = "TMU2",
191 .start = 0xffd80020, 185 .start = 0xffd80020,
192 .end = 0xffd8002f, 186 .end = 0xffd8002f,
193 .flags = IORESOURCE_MEM, 187 .flags = IORESOURCE_MEM,
@@ -209,7 +203,6 @@ static struct platform_device tmu2_device = {
209}; 203};
210 204
211static struct sh_timer_config tmu3_platform_data = { 205static struct sh_timer_config tmu3_platform_data = {
212 .name = "TMU3",
213 .channel_offset = 0x04, 206 .channel_offset = 0x04,
214 .timer_bit = 0, 207 .timer_bit = 0,
215 .clk = "peripheral_clk", 208 .clk = "peripheral_clk",
@@ -217,7 +210,6 @@ static struct sh_timer_config tmu3_platform_data = {
217 210
218static struct resource tmu3_resources[] = { 211static struct resource tmu3_resources[] = {
219 [0] = { 212 [0] = {
220 .name = "TMU3",
221 .start = 0xffda0008, 213 .start = 0xffda0008,
222 .end = 0xffda0013, 214 .end = 0xffda0013,
223 .flags = IORESOURCE_MEM, 215 .flags = IORESOURCE_MEM,
@@ -239,7 +231,6 @@ static struct platform_device tmu3_device = {
239}; 231};
240 232
241static struct sh_timer_config tmu4_platform_data = { 233static struct sh_timer_config tmu4_platform_data = {
242 .name = "TMU4",
243 .channel_offset = 0x10, 234 .channel_offset = 0x10,
244 .timer_bit = 1, 235 .timer_bit = 1,
245 .clk = "peripheral_clk", 236 .clk = "peripheral_clk",
@@ -247,7 +238,6 @@ static struct sh_timer_config tmu4_platform_data = {
247 238
248static struct resource tmu4_resources[] = { 239static struct resource tmu4_resources[] = {
249 [0] = { 240 [0] = {
250 .name = "TMU4",
251 .start = 0xffda0014, 241 .start = 0xffda0014,
252 .end = 0xffda001f, 242 .end = 0xffda001f,
253 .flags = IORESOURCE_MEM, 243 .flags = IORESOURCE_MEM,
@@ -269,7 +259,6 @@ static struct platform_device tmu4_device = {
269}; 259};
270 260
271static struct sh_timer_config tmu5_platform_data = { 261static struct sh_timer_config tmu5_platform_data = {
272 .name = "TMU5",
273 .channel_offset = 0x1c, 262 .channel_offset = 0x1c,
274 .timer_bit = 2, 263 .timer_bit = 2,
275 .clk = "peripheral_clk", 264 .clk = "peripheral_clk",
@@ -277,7 +266,6 @@ static struct sh_timer_config tmu5_platform_data = {
277 266
278static struct resource tmu5_resources[] = { 267static struct resource tmu5_resources[] = {
279 [0] = { 268 [0] = {
280 .name = "TMU5",
281 .start = 0xffda0020, 269 .start = 0xffda0020,
282 .end = 0xffda002b, 270 .end = 0xffda002b,
283 .flags = IORESOURCE_MEM, 271 .flags = IORESOURCE_MEM,
@@ -299,7 +287,6 @@ static struct platform_device tmu5_device = {
299}; 287};
300 288
301static struct sh_timer_config tmu6_platform_data = { 289static struct sh_timer_config tmu6_platform_data = {
302 .name = "TMU6",
303 .channel_offset = 0x04, 290 .channel_offset = 0x04,
304 .timer_bit = 0, 291 .timer_bit = 0,
305 .clk = "peripheral_clk", 292 .clk = "peripheral_clk",
@@ -307,7 +294,6 @@ static struct sh_timer_config tmu6_platform_data = {
307 294
308static struct resource tmu6_resources[] = { 295static struct resource tmu6_resources[] = {
309 [0] = { 296 [0] = {
310 .name = "TMU6",
311 .start = 0xffdc0008, 297 .start = 0xffdc0008,
312 .end = 0xffdc0013, 298 .end = 0xffdc0013,
313 .flags = IORESOURCE_MEM, 299 .flags = IORESOURCE_MEM,
@@ -329,7 +315,6 @@ static struct platform_device tmu6_device = {
329}; 315};
330 316
331static struct sh_timer_config tmu7_platform_data = { 317static struct sh_timer_config tmu7_platform_data = {
332 .name = "TMU7",
333 .channel_offset = 0x10, 318 .channel_offset = 0x10,
334 .timer_bit = 1, 319 .timer_bit = 1,
335 .clk = "peripheral_clk", 320 .clk = "peripheral_clk",
@@ -337,7 +322,6 @@ static struct sh_timer_config tmu7_platform_data = {
337 322
338static struct resource tmu7_resources[] = { 323static struct resource tmu7_resources[] = {
339 [0] = { 324 [0] = {
340 .name = "TMU7",
341 .start = 0xffdc0014, 325 .start = 0xffdc0014,
342 .end = 0xffdc001f, 326 .end = 0xffdc001f,
343 .flags = IORESOURCE_MEM, 327 .flags = IORESOURCE_MEM,
@@ -359,7 +343,6 @@ static struct platform_device tmu7_device = {
359}; 343};
360 344
361static struct sh_timer_config tmu8_platform_data = { 345static struct sh_timer_config tmu8_platform_data = {
362 .name = "TMU8",
363 .channel_offset = 0x1c, 346 .channel_offset = 0x1c,
364 .timer_bit = 2, 347 .timer_bit = 2,
365 .clk = "peripheral_clk", 348 .clk = "peripheral_clk",
@@ -367,7 +350,6 @@ static struct sh_timer_config tmu8_platform_data = {
367 350
368static struct resource tmu8_resources[] = { 351static struct resource tmu8_resources[] = {
369 [0] = { 352 [0] = {
370 .name = "TMU8",
371 .start = 0xffdc0020, 353 .start = 0xffdc0020,
372 .end = 0xffdc002b, 354 .end = 0xffdc002b,
373 .flags = IORESOURCE_MEM, 355 .flags = IORESOURCE_MEM,
@@ -389,7 +371,6 @@ static struct platform_device tmu8_device = {
389}; 371};
390 372
391static struct sh_timer_config tmu9_platform_data = { 373static struct sh_timer_config tmu9_platform_data = {
392 .name = "TMU9",
393 .channel_offset = 0x04, 374 .channel_offset = 0x04,
394 .timer_bit = 0, 375 .timer_bit = 0,
395 .clk = "peripheral_clk", 376 .clk = "peripheral_clk",
@@ -397,7 +378,6 @@ static struct sh_timer_config tmu9_platform_data = {
397 378
398static struct resource tmu9_resources[] = { 379static struct resource tmu9_resources[] = {
399 [0] = { 380 [0] = {
400 .name = "TMU9",
401 .start = 0xffde0008, 381 .start = 0xffde0008,
402 .end = 0xffde0013, 382 .end = 0xffde0013,
403 .flags = IORESOURCE_MEM, 383 .flags = IORESOURCE_MEM,
@@ -419,7 +399,6 @@ static struct platform_device tmu9_device = {
419}; 399};
420 400
421static struct sh_timer_config tmu10_platform_data = { 401static struct sh_timer_config tmu10_platform_data = {
422 .name = "TMU10",
423 .channel_offset = 0x10, 402 .channel_offset = 0x10,
424 .timer_bit = 1, 403 .timer_bit = 1,
425 .clk = "peripheral_clk", 404 .clk = "peripheral_clk",
@@ -427,7 +406,6 @@ static struct sh_timer_config tmu10_platform_data = {
427 406
428static struct resource tmu10_resources[] = { 407static struct resource tmu10_resources[] = {
429 [0] = { 408 [0] = {
430 .name = "TMU10",
431 .start = 0xffde0014, 409 .start = 0xffde0014,
432 .end = 0xffde001f, 410 .end = 0xffde001f,
433 .flags = IORESOURCE_MEM, 411 .flags = IORESOURCE_MEM,
@@ -449,7 +427,6 @@ static struct platform_device tmu10_device = {
449}; 427};
450 428
451static struct sh_timer_config tmu11_platform_data = { 429static struct sh_timer_config tmu11_platform_data = {
452 .name = "TMU11",
453 .channel_offset = 0x1c, 430 .channel_offset = 0x1c,
454 .timer_bit = 2, 431 .timer_bit = 2,
455 .clk = "peripheral_clk", 432 .clk = "peripheral_clk",
@@ -457,7 +434,6 @@ static struct sh_timer_config tmu11_platform_data = {
457 434
458static struct resource tmu11_resources[] = { 435static struct resource tmu11_resources[] = {
459 [0] = { 436 [0] = {
460 .name = "TMU11",
461 .start = 0xffde0020, 437 .start = 0xffde0020,
462 .end = 0xffde002b, 438 .end = 0xffde002b,
463 .flags = IORESOURCE_MEM, 439 .flags = IORESOURCE_MEM,