aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/kernel/cpu/sh2a
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/sh2a
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/sh2a')
-rw-r--r--arch/sh/kernel/cpu/sh2a/setup-mxg.c6
-rw-r--r--arch/sh/kernel/cpu/sh2a/setup-sh7201.c6
-rw-r--r--arch/sh/kernel/cpu/sh2a/setup-sh7203.c8
-rw-r--r--arch/sh/kernel/cpu/sh2a/setup-sh7206.c10
4 files changed, 0 insertions, 30 deletions
diff --git a/arch/sh/kernel/cpu/sh2a/setup-mxg.c b/arch/sh/kernel/cpu/sh2a/setup-mxg.c
index 8f669dc9b0da..5301450656cc 100644
--- a/arch/sh/kernel/cpu/sh2a/setup-mxg.c
+++ b/arch/sh/kernel/cpu/sh2a/setup-mxg.c
@@ -115,7 +115,6 @@ static DECLARE_INTC_DESC(intc_desc, "mxg", vectors, groups,
115 mask_registers, prio_registers, NULL); 115 mask_registers, prio_registers, NULL);
116 116
117static struct sh_timer_config mtu2_0_platform_data = { 117static struct sh_timer_config mtu2_0_platform_data = {
118 .name = "MTU2_0",
119 .channel_offset = -0x80, 118 .channel_offset = -0x80,
120 .timer_bit = 0, 119 .timer_bit = 0,
121 .clk = "peripheral_clk", 120 .clk = "peripheral_clk",
@@ -124,7 +123,6 @@ static struct sh_timer_config mtu2_0_platform_data = {
124 123
125static struct resource mtu2_0_resources[] = { 124static struct resource mtu2_0_resources[] = {
126 [0] = { 125 [0] = {
127 .name = "MTU2_0",
128 .start = 0xff801300, 126 .start = 0xff801300,
129 .end = 0xff801326, 127 .end = 0xff801326,
130 .flags = IORESOURCE_MEM, 128 .flags = IORESOURCE_MEM,
@@ -146,7 +144,6 @@ static struct platform_device mtu2_0_device = {
146}; 144};
147 145
148static struct sh_timer_config mtu2_1_platform_data = { 146static struct sh_timer_config mtu2_1_platform_data = {
149 .name = "MTU2_1",
150 .channel_offset = -0x100, 147 .channel_offset = -0x100,
151 .timer_bit = 1, 148 .timer_bit = 1,
152 .clk = "peripheral_clk", 149 .clk = "peripheral_clk",
@@ -155,7 +152,6 @@ static struct sh_timer_config mtu2_1_platform_data = {
155 152
156static struct resource mtu2_1_resources[] = { 153static struct resource mtu2_1_resources[] = {
157 [0] = { 154 [0] = {
158 .name = "MTU2_1",
159 .start = 0xff801380, 155 .start = 0xff801380,
160 .end = 0xff801390, 156 .end = 0xff801390,
161 .flags = IORESOURCE_MEM, 157 .flags = IORESOURCE_MEM,
@@ -177,7 +173,6 @@ static struct platform_device mtu2_1_device = {
177}; 173};
178 174
179static struct sh_timer_config mtu2_2_platform_data = { 175static struct sh_timer_config mtu2_2_platform_data = {
180 .name = "MTU2_2",
181 .channel_offset = 0x80, 176 .channel_offset = 0x80,
182 .timer_bit = 2, 177 .timer_bit = 2,
183 .clk = "peripheral_clk", 178 .clk = "peripheral_clk",
@@ -186,7 +181,6 @@ static struct sh_timer_config mtu2_2_platform_data = {
186 181
187static struct resource mtu2_2_resources[] = { 182static struct resource mtu2_2_resources[] = {
188 [0] = { 183 [0] = {
189 .name = "MTU2_2",
190 .start = 0xff801000, 184 .start = 0xff801000,
191 .end = 0xff80100a, 185 .end = 0xff80100a,
192 .flags = IORESOURCE_MEM, 186 .flags = IORESOURCE_MEM,
diff --git a/arch/sh/kernel/cpu/sh2a/setup-sh7201.c b/arch/sh/kernel/cpu/sh2a/setup-sh7201.c
index 4ccfeb59eb1a..5b07ab57acfd 100644
--- a/arch/sh/kernel/cpu/sh2a/setup-sh7201.c
+++ b/arch/sh/kernel/cpu/sh2a/setup-sh7201.c
@@ -318,7 +318,6 @@ static struct platform_device rtc_device = {
318}; 318};
319 319
320static struct sh_timer_config mtu2_0_platform_data = { 320static struct sh_timer_config mtu2_0_platform_data = {
321 .name = "MTU2_0",
322 .channel_offset = -0x80, 321 .channel_offset = -0x80,
323 .timer_bit = 0, 322 .timer_bit = 0,
324 .clk = "peripheral_clk", 323 .clk = "peripheral_clk",
@@ -327,7 +326,6 @@ static struct sh_timer_config mtu2_0_platform_data = {
327 326
328static struct resource mtu2_0_resources[] = { 327static struct resource mtu2_0_resources[] = {
329 [0] = { 328 [0] = {
330 .name = "MTU2_0",
331 .start = 0xfffe4300, 329 .start = 0xfffe4300,
332 .end = 0xfffe4326, 330 .end = 0xfffe4326,
333 .flags = IORESOURCE_MEM, 331 .flags = IORESOURCE_MEM,
@@ -349,7 +347,6 @@ static struct platform_device mtu2_0_device = {
349}; 347};
350 348
351static struct sh_timer_config mtu2_1_platform_data = { 349static struct sh_timer_config mtu2_1_platform_data = {
352 .name = "MTU2_1",
353 .channel_offset = -0x100, 350 .channel_offset = -0x100,
354 .timer_bit = 1, 351 .timer_bit = 1,
355 .clk = "peripheral_clk", 352 .clk = "peripheral_clk",
@@ -358,7 +355,6 @@ static struct sh_timer_config mtu2_1_platform_data = {
358 355
359static struct resource mtu2_1_resources[] = { 356static struct resource mtu2_1_resources[] = {
360 [0] = { 357 [0] = {
361 .name = "MTU2_1",
362 .start = 0xfffe4380, 358 .start = 0xfffe4380,
363 .end = 0xfffe4390, 359 .end = 0xfffe4390,
364 .flags = IORESOURCE_MEM, 360 .flags = IORESOURCE_MEM,
@@ -380,7 +376,6 @@ static struct platform_device mtu2_1_device = {
380}; 376};
381 377
382static struct sh_timer_config mtu2_2_platform_data = { 378static struct sh_timer_config mtu2_2_platform_data = {
383 .name = "MTU2_2",
384 .channel_offset = 0x80, 379 .channel_offset = 0x80,
385 .timer_bit = 2, 380 .timer_bit = 2,
386 .clk = "peripheral_clk", 381 .clk = "peripheral_clk",
@@ -389,7 +384,6 @@ static struct sh_timer_config mtu2_2_platform_data = {
389 384
390static struct resource mtu2_2_resources[] = { 385static struct resource mtu2_2_resources[] = {
391 [0] = { 386 [0] = {
392 .name = "MTU2_2",
393 .start = 0xfffe4000, 387 .start = 0xfffe4000,
394 .end = 0xfffe400a, 388 .end = 0xfffe400a,
395 .flags = IORESOURCE_MEM, 389 .flags = IORESOURCE_MEM,
diff --git a/arch/sh/kernel/cpu/sh2a/setup-sh7203.c b/arch/sh/kernel/cpu/sh2a/setup-sh7203.c
index 3136966cc9b3..433ac5301314 100644
--- a/arch/sh/kernel/cpu/sh2a/setup-sh7203.c
+++ b/arch/sh/kernel/cpu/sh2a/setup-sh7203.c
@@ -234,7 +234,6 @@ static struct platform_device scif3_device = {
234}; 234};
235 235
236static struct sh_timer_config cmt0_platform_data = { 236static struct sh_timer_config cmt0_platform_data = {
237 .name = "CMT0",
238 .channel_offset = 0x02, 237 .channel_offset = 0x02,
239 .timer_bit = 0, 238 .timer_bit = 0,
240 .clk = "peripheral_clk", 239 .clk = "peripheral_clk",
@@ -244,7 +243,6 @@ static struct sh_timer_config cmt0_platform_data = {
244 243
245static struct resource cmt0_resources[] = { 244static struct resource cmt0_resources[] = {
246 [0] = { 245 [0] = {
247 .name = "CMT0",
248 .start = 0xfffec002, 246 .start = 0xfffec002,
249 .end = 0xfffec007, 247 .end = 0xfffec007,
250 .flags = IORESOURCE_MEM, 248 .flags = IORESOURCE_MEM,
@@ -266,7 +264,6 @@ static struct platform_device cmt0_device = {
266}; 264};
267 265
268static struct sh_timer_config cmt1_platform_data = { 266static struct sh_timer_config cmt1_platform_data = {
269 .name = "CMT1",
270 .channel_offset = 0x08, 267 .channel_offset = 0x08,
271 .timer_bit = 1, 268 .timer_bit = 1,
272 .clk = "peripheral_clk", 269 .clk = "peripheral_clk",
@@ -276,7 +273,6 @@ static struct sh_timer_config cmt1_platform_data = {
276 273
277static struct resource cmt1_resources[] = { 274static struct resource cmt1_resources[] = {
278 [0] = { 275 [0] = {
279 .name = "CMT1",
280 .start = 0xfffec008, 276 .start = 0xfffec008,
281 .end = 0xfffec00d, 277 .end = 0xfffec00d,
282 .flags = IORESOURCE_MEM, 278 .flags = IORESOURCE_MEM,
@@ -298,7 +294,6 @@ static struct platform_device cmt1_device = {
298}; 294};
299 295
300static struct sh_timer_config mtu2_0_platform_data = {