diff options
| author | Paul Mundt <lethal@linux-sh.org> | 2010-03-10 02:28:16 -0500 |
|---|---|---|
| committer | Paul Mundt <lethal@linux-sh.org> | 2010-03-10 02:28:16 -0500 |
| commit | ec0ffe2ee0e0fb9da4409d86bfd72636450f32df (patch) | |
| tree | 75ec1d3de64fbadb5ebe5179926eb608dcfb81b6 /arch | |
| parent | 214a607a4f5bf5a14dab0304ba350cdaf3916795 (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')
25 files changed, 0 insertions, 242 deletions
diff --git a/arch/sh/kernel/cpu/sh2/setup-sh7619.c b/arch/sh/kernel/cpu/sh2/setup-sh7619.c index 114c7cee7184..9b96457ccc7b 100644 --- a/arch/sh/kernel/cpu/sh2/setup-sh7619.c +++ b/arch/sh/kernel/cpu/sh2/setup-sh7619.c | |||
| @@ -128,7 +128,6 @@ static struct platform_device eth_device = { | |||
| 128 | }; | 128 | }; |
| 129 | 129 | ||
| 130 | static struct sh_timer_config cmt0_platform_data = { | 130 | static struct sh_timer_config cmt0_platform_data = { |
| 131 | .name = "CMT0", | ||
| 132 | .channel_offset = 0x02, | 131 | .channel_offset = 0x02, |
| 133 | .timer_bit = 0, | 132 | .timer_bit = 0, |
| 134 | .clk = "peripheral_clk", | 133 | .clk = "peripheral_clk", |
| @@ -138,7 +137,6 @@ static struct sh_timer_config cmt0_platform_data = { | |||
| 138 | 137 | ||
| 139 | static struct resource cmt0_resources[] = { | 138 | static struct resource cmt0_resources[] = { |
| 140 | [0] = { | 139 | [0] = { |
| 141 | .name = "CMT0", | ||
| 142 | .start = 0xf84a0072, | 140 | .start = 0xf84a0072, |
| 143 | .end = 0xf84a0077, | 141 | .end = 0xf84a0077, |
| 144 | .flags = IORESOURCE_MEM, | 142 | .flags = IORESOURCE_MEM, |
| @@ -160,7 +158,6 @@ static struct platform_device cmt0_device = { | |||
| 160 | }; | 158 | }; |
| 161 | 159 | ||
| 162 | static struct sh_timer_config cmt1_platform_data = { | 160 | static struct sh_timer_config cmt1_platform_data = { |
| 163 | .name = "CMT1", | ||
| 164 | .channel_offset = 0x08, | 161 | .channel_offset = 0x08, |
| 165 | .timer_bit = 1, | 162 | .timer_bit = 1, |
| 166 | .clk = "peripheral_clk", | 163 | .clk = "peripheral_clk", |
| @@ -170,7 +167,6 @@ static struct sh_timer_config cmt1_platform_data = { | |||
| 170 | 167 | ||
| 171 | static struct resource cmt1_resources[] = { | 168 | static struct resource cmt1_resources[] = { |
| 172 | [0] = { | 169 | [0] = { |
| 173 | .name = "CMT1", | ||
| 174 | .start = 0xf84a0078, | 170 | .start = 0xf84a0078, |
| 175 | .end = 0xf84a007d, | 171 | .end = 0xf84a007d, |
| 176 | .flags = IORESOURCE_MEM, | 172 | .flags = IORESOURCE_MEM, |
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 | ||
| 117 | static struct sh_timer_config mtu2_0_platform_data = { | 117 | static 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 | ||
| 125 | static struct resource mtu2_0_resources[] = { | 124 | static 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 | ||
| 148 | static struct sh_timer_config mtu2_1_platform_data = { | 146 | static 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 | ||
| 156 | static struct resource mtu2_1_resources[] = { | 153 | static 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 | ||
| 179 | static struct sh_timer_config mtu2_2_platform_data = { | 175 | static 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 | ||
| 187 | static struct resource mtu2_2_resources[] = { | 182 | static 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 | ||
| 320 | static struct sh_timer_config mtu2_0_platform_data = { | 320 | static 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 | ||
| 328 | static struct resource mtu2_0_resources[] = { | 327 | static 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 | ||
| 351 | static struct sh_timer_config mtu2_1_platform_data = { | 349 | static 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 | ||
| 359 | static struct resource mtu2_1_resources[] = { | 356 | static struct resource mtu2_1_resources[] = { |
| 360 | [0] = { | 357 | [0] = { |
