diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/sh/kernel/cpu/sh2/setup-sh7619.c | 6 | ||||
-rw-r--r-- | arch/sh/kernel/cpu/sh2a/setup-mxg.c | 8 | ||||
-rw-r--r-- | arch/sh/kernel/cpu/sh2a/setup-sh7201.c | 8 | ||||
-rw-r--r-- | arch/sh/kernel/cpu/sh2a/setup-sh7203.c | 11 | ||||
-rw-r--r-- | arch/sh/kernel/cpu/sh2a/setup-sh7206.c | 13 | ||||
-rw-r--r-- | arch/sh/kernel/cpu/sh4a/setup-sh7343.c | 4 | ||||
-rw-r--r-- | arch/sh/kernel/cpu/sh4a/setup-sh7366.c | 4 | ||||
-rw-r--r-- | arch/sh/kernel/cpu/sh4a/setup-sh7722.c | 11 | ||||
-rw-r--r-- | arch/sh/kernel/cpu/sh4a/setup-sh7723.c | 4 | ||||
-rw-r--r-- | arch/sh/kernel/cpu/sh4a/setup-sh7724.c | 4 |
10 files changed, 35 insertions, 38 deletions
diff --git a/arch/sh/kernel/cpu/sh2/setup-sh7619.c b/arch/sh/kernel/cpu/sh2/setup-sh7619.c index d70c263eb07e..94ac27fc2237 100644 --- a/arch/sh/kernel/cpu/sh2/setup-sh7619.c +++ b/arch/sh/kernel/cpu/sh2/setup-sh7619.c | |||
@@ -12,7 +12,7 @@ | |||
12 | #include <linux/init.h> | 12 | #include <linux/init.h> |
13 | #include <linux/serial.h> | 13 | #include <linux/serial.h> |
14 | #include <linux/serial_sci.h> | 14 | #include <linux/serial_sci.h> |
15 | #include <linux/sh_cmt.h> | 15 | #include <linux/sh_timer.h> |
16 | #include <linux/io.h> | 16 | #include <linux/io.h> |
17 | 17 | ||
18 | enum { | 18 | enum { |
@@ -111,7 +111,7 @@ static struct platform_device eth_device = { | |||
111 | .resource = eth_resources, | 111 | .resource = eth_resources, |
112 | }; | 112 | }; |
113 | 113 | ||
114 | static struct sh_cmt_config cmt0_platform_data = { | 114 | static struct sh_timer_config cmt0_platform_data = { |
115 | .name = "CMT0", | 115 | .name = "CMT0", |
116 | .channel_offset = 0x02, | 116 | .channel_offset = 0x02, |
117 | .timer_bit = 0, | 117 | .timer_bit = 0, |
@@ -143,7 +143,7 @@ static struct platform_device cmt0_device = { | |||
143 | .num_resources = ARRAY_SIZE(cmt0_resources), | 143 | .num_resources = ARRAY_SIZE(cmt0_resources), |
144 | }; | 144 | }; |
145 | 145 | ||
146 | static struct sh_cmt_config cmt1_platform_data = { | 146 | static struct sh_timer_config cmt1_platform_data = { |
147 | .name = "CMT1", | 147 | .name = "CMT1", |
148 | .channel_offset = 0x08, | 148 | .channel_offset = 0x08, |
149 | .timer_bit = 1, | 149 | .timer_bit = 1, |
diff --git a/arch/sh/kernel/cpu/sh2a/setup-mxg.c b/arch/sh/kernel/cpu/sh2a/setup-mxg.c index 870030aa05bc..a452d9649069 100644 --- a/arch/sh/kernel/cpu/sh2a/setup-mxg.c +++ b/arch/sh/kernel/cpu/sh2a/setup-mxg.c | |||
@@ -11,7 +11,7 @@ | |||
11 | #include <linux/init.h> | 11 | #include <linux/init.h> |
12 | #include <linux/serial.h> | 12 | #include <linux/serial.h> |
13 | #include <linux/serial_sci.h> | 13 | #include <linux/serial_sci.h> |
14 | #include <linux/sh_mtu2.h> | 14 | #include <linux/sh_timer.h> |
15 | 15 | ||
16 | enum { | 16 | enum { |
17 | UNUSED = 0, | 17 | UNUSED = 0, |
@@ -114,7 +114,7 @@ static struct intc_mask_reg mask_registers[] __initdata = { | |||
114 | static DECLARE_INTC_DESC(intc_desc, "mxg", vectors, groups, | 114 | 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_mtu2_config mtu2_0_platform_data = { | 117 | static struct sh_timer_config mtu2_0_platform_data = { |
118 | .name = "MTU2_0", | 118 | .name = "MTU2_0", |
119 | .channel_offset = -0x80, | 119 | .channel_offset = -0x80, |
120 | .timer_bit = 0, | 120 | .timer_bit = 0, |
@@ -145,7 +145,7 @@ static struct platform_device mtu2_0_device = { | |||
145 | .num_resources = ARRAY_SIZE(mtu2_0_resources), | 145 | .num_resources = ARRAY_SIZE(mtu2_0_resources), |
146 | }; | 146 | }; |
147 | 147 | ||
148 | static struct sh_mtu2_config mtu2_1_platform_data = { | 148 | static struct sh_timer_config mtu2_1_platform_data = { |
149 | .name = "MTU2_1", | 149 | .name = "MTU2_1", |
150 | .channel_offset = -0x100, | 150 | .channel_offset = -0x100, |
151 | .timer_bit = 1, | 151 | .timer_bit = 1, |
@@ -176,7 +176,7 @@ static struct platform_device mtu2_1_device = { | |||
176 | .num_resources = ARRAY_SIZE(mtu2_1_resources), | 176 | .num_resources = ARRAY_SIZE(mtu2_1_resources), |
177 | }; | 177 | }; |
178 | 178 | ||
179 | static struct sh_mtu2_config mtu2_2_platform_data = { | 179 | static struct sh_timer_config mtu2_2_platform_data = { |
180 | .name = "MTU2_2", | 180 | .name = "MTU2_2", |
181 | .channel_offset = 0x80, | 181 | .channel_offset = 0x80, |
182 | .timer_bit = 2, | 182 | .timer_bit = 2, |
diff --git a/arch/sh/kernel/cpu/sh2a/setup-sh7201.c b/arch/sh/kernel/cpu/sh2a/setup-sh7201.c index 074aa9062e4b..772358b7685e 100644 --- a/arch/sh/kernel/cpu/sh2a/setup-sh7201.c +++ b/arch/sh/kernel/cpu/sh2a/setup-sh7201.c | |||
@@ -12,7 +12,7 @@ | |||
12 | #include <linux/init.h> | 12 | #include <linux/init.h> |
13 | #include <linux/serial.h> | 13 | #include <linux/serial.h> |
14 | #include <linux/serial_sci.h> | 14 | #include <linux/serial_sci.h> |
15 | #include <linux/sh_mtu2.h> | 15 | #include <linux/sh_timer.h> |
16 | #include <linux/io.h> | 16 | #include <linux/io.h> |
17 | 17 | ||
18 | enum { | 18 | enum { |
@@ -251,7 +251,7 @@ static struct platform_device rtc_device = { | |||
251 | .resource = rtc_resources, | 251 | .resource = rtc_resources, |
252 | }; | 252 | }; |
253 | 253 | ||
254 | static struct sh_mtu2_config mtu2_0_platform_data = { | 254 | static struct sh_timer_config mtu2_0_platform_data = { |
255 | .name = "MTU2_0", | 255 | .name = "MTU2_0", |
256 | .channel_offset = -0x80, | 256 | .channel_offset = -0x80, |
257 | .timer_bit = 0, | 257 | .timer_bit = 0, |
@@ -282,7 +282,7 @@ static struct platform_device mtu2_0_device = { | |||
282 | .num_resources = ARRAY_SIZE(mtu2_0_resources), | 282 | .num_resources = ARRAY_SIZE(mtu2_0_resources), |
283 | }; | 283 | }; |
284 | 284 | ||
285 | static struct sh_mtu2_config mtu2_1_platform_data = { | 285 | static struct sh_timer_config mtu2_1_platform_data = { |
286 | .name = "MTU2_1", | 286 | .name = "MTU2_1", |
287 | .channel_offset = -0x100, | 287 | .channel_offset = -0x100, |
288 | .timer_bit = 1, | 288 | .timer_bit = 1, |
@@ -313,7 +313,7 @@ static struct platform_device mtu2_1_device = { | |||
313 | .num_resources = ARRAY_SIZE(mtu2_1_resources), | 313 | .num_resources = ARRAY_SIZE(mtu2_1_resources), |
314 | }; | 314 | }; |
315 | 315 | ||
316 | static struct sh_mtu2_config mtu2_2_platform_data = { | 316 | static struct sh_timer_config mtu2_2_platform_data = { |
317 | .name = "MTU2_2", | 317 | .name = "MTU2_2", |
318 | .channel_offset = 0x80, | 318 | .channel_offset = 0x80, |
319 | .timer_bit = 2, | 319 | .timer_bit = 2, |
diff --git a/arch/sh/kernel/cpu/sh2a/setup-sh7203.c b/arch/sh/kernel/cpu/sh2a/setup-sh7203.c index 3448164b5734..d7493418ba60 100644 --- a/arch/sh/kernel/cpu/sh2a/setup-sh7203.c +++ b/arch/sh/kernel/cpu/sh2a/setup-sh7203.c | |||
@@ -11,8 +11,7 @@ | |||
11 | #include <linux/init.h> | 11 | #include <linux/init.h> |
12 | #include <linux/serial.h> | 12 | #include <linux/serial.h> |
13 | #include <linux/serial_sci.h> | 13 | #include <linux/serial_sci.h> |
14 | #include <linux/sh_cmt.h> | 14 | #include <linux/sh_timer.h> |
15 | #include <linux/sh_mtu2.h> | ||
16 | #include <linux/io.h> | 15 | #include <linux/io.h> |
17 | 16 | ||
18 | enum { | 17 | enum { |
@@ -208,7 +207,7 @@ static struct platform_device sci_device = { | |||
208 | }, | 207 | }, |
209 | }; | 208 | }; |
210 | 209 | ||
211 | static struct sh_cmt_config cmt0_platform_data = { | 210 | static struct sh_timer_config cmt0_platform_data = { |
212 | .name = "CMT0", | 211 | .name = "CMT0", |
213 | .channel_offset = 0x02, | 212 | .channel_offset = 0x02, |
214 | .timer_bit = 0, | 213 | .timer_bit = 0, |
@@ -240,7 +239,7 @@ static struct platform_device cmt0_device = { | |||
240 | .num_resources = ARRAY_SIZE(cmt0_resources), | 239 | .num_resources = ARRAY_SIZE(cmt0_resources), |
241 | }; | 240 | }; |
242 | 241 | ||
243 | static struct sh_cmt_config cmt1_platform_data = { | 242 | static struct sh_timer_config cmt1_platform_data = { |
244 | .name = "CMT1", | 243 | .name = "CMT1", |
245 | .channel_offset = 0x08, | 244 | .channel_offset = 0x08, |
246 | .timer_bit = 1, | 245 | .timer_bit = 1, |
@@ -272,7 +271,7 @@ static struct platform_device cmt1_device = { | |||
272 | .num_resources = ARRAY_SIZE(cmt1_resources), | 271 | .num_resources = ARRAY_SIZE(cmt1_resources), |
273 | }; | 272 | }; |
274 | 273 | ||
275 | static struct sh_mtu2_config mtu2_0_platform_data = { | 274 | static struct sh_timer_config mtu2_0_platform_data = { |
276 | .name = "MTU2_0", | 275 | .name = "MTU2_0", |
277 | .channel_offset = -0x80, | 276 | .channel_offset = -0x80, |
278 | .timer_bit = 0, | 277 | .timer_bit = 0, |
@@ -303,7 +302,7 @@ static struct platform_device mtu2_0_device = { | |||
303 | .num_resources = ARRAY_SIZE(mtu2_0_resources), | 302 | .num_resources = ARRAY_SIZE(mtu2_0_resources), |
304 | }; | 303 | }; |
305 | 304 | ||
306 | static struct sh_mtu2_config mtu2_1_platform_data = { | 305 | static struct sh_timer_config mtu2_1_platform_data = { |
307 | .name = "MTU2_1", | 306 | .name = "MTU2_1", |
308 | .channel_offset = -0x100, | 307 | .channel_offset = -0x100, |
309 | .timer_bit = 1, | 308 | .timer_bit = 1, |
diff --git a/arch/sh/kernel/cpu/sh2a/setup-sh7206.c b/arch/sh/kernel/cpu/sh2a/setup-sh7206.c index e700559b6b89..2fc6bff5c5fb 100644 --- a/arch/sh/kernel/cpu/sh2a/setup-sh7206.c +++ b/arch/sh/kernel/cpu/sh2a/setup-sh7206.c | |||
@@ -12,8 +12,7 @@ | |||
12 | #include <linux/init.h> | 12 | #include <linux/init.h> |
13 | #include <linux/serial.h> | 13 | #include <linux/serial.h> |
14 | #include <linux/serial_sci.h> | 14 | #include <linux/serial_sci.h> |
15 | #include <linux/sh_cmt.h> | 15 | #include <linux/sh_timer.h> |
16 | #include <linux/sh_mtu2.h> | ||
17 | #include <linux/io.h> | 16 | #include <linux/io.h> |
18 | 17 | ||
19 | enum { | 18 | enum { |
@@ -168,7 +167,7 @@ static struct platform_device sci_device = { | |||
168 | }, | 167 | }, |
169 | }; | 168 | }; |
170 | 169 | ||
171 | static struct sh_cmt_config cmt0_platform_data = { | 170 | static struct sh_timer_config cmt0_platform_data = { |
172 | .name = "CMT0", | 171 | .name = "CMT0", |
173 | .channel_offset = 0x02, | 172 | .channel_offset = 0x02, |
174 | .timer_bit = 0, | 173 | .timer_bit = 0, |
@@ -200,7 +199,7 @@ static struct platform_device cmt0_device = { | |||
200 | .num_resources = ARRAY_SIZE(cmt0_resources), | 199 | .num_resources = ARRAY_SIZE(cmt0_resources), |
201 | }; | 200 | }; |
202 | 201 | ||
203 | static struct sh_cmt_config cmt1_platform_data = { | 202 | static struct sh_timer_config cmt1_platform_data = { |
204 | .name = "CMT1", | 203 | .name = "CMT1", |
205 | .channel_offset = 0x08, | 204 | .channel_offset = 0x08, |
206 | .timer_bit = 1, | 205 | .timer_bit = 1, |
@@ -232,7 +231,7 @@ static struct platform_device cmt1_device = { | |||
232 | .num_resources = ARRAY_SIZE(cmt1_resources), | 231 | .num_resources = ARRAY_SIZE(cmt1_resources), |
233 | }; | 232 | }; |
234 | 233 | ||
235 | static struct sh_mtu2_config mtu2_0_platform_data = { | 234 | static struct sh_timer_config mtu2_0_platform_data = { |
236 | .name = "MTU2_0", | 235 | .name = "MTU2_0", |
237 | .channel_offset = -0x80, | 236 | .channel_offset = -0x80, |
238 | .timer_bit = 0, | 237 | .timer_bit = 0, |
@@ -263,7 +262,7 @@ static struct platform_device mtu2_0_device = { | |||
263 | .num_resources = ARRAY_SIZE(mtu2_0_resources), | 262 | .num_resources = ARRAY_SIZE(mtu2_0_resources), |
264 | }; | 263 | }; |
265 | 264 | ||
266 | static struct sh_mtu2_config mtu2_1_platform_data = { | 265 | static struct sh_timer_config mtu2_1_platform_data = { |
267 | .name = "MTU2_1", | 266 | .name = "MTU2_1", |
268 | .channel_offset = -0x100, | 267 | .channel_offset = -0x100, |
269 | .timer_bit = 1, | 268 | .timer_bit = 1, |
@@ -294,7 +293,7 @@ static struct platform_device mtu2_1_device = { | |||
294 | .num_resources = ARRAY_SIZE(mtu2_1_resources), | 293 | .num_resources = ARRAY_SIZE(mtu2_1_resources), |
295 | }; | 294 | }; |
296 | 295 | ||
297 | static struct sh_mtu2_config mtu2_2_platform_data = { | 296 | static struct sh_timer_config mtu2_2_platform_data = { |
298 | .name = "MTU2_2", | 297 | .name = "MTU2_2", |
299 | .channel_offset = 0x80, | 298 | .channel_offset = 0x80, |
300 | .timer_bit = 2, | 299 | .timer_bit = 2, |
diff --git a/arch/sh/kernel/cpu/sh4a/setup-sh7343.c b/arch/sh/kernel/cpu/sh4a/setup-sh7343.c index cb5b4db1ca25..f327b7eaf47c 100644 --- a/arch/sh/kernel/cpu/sh4a/setup-sh7343.c +++ b/arch/sh/kernel/cpu/sh4a/setup-sh7343.c | |||
@@ -12,7 +12,7 @@ | |||
12 | #include <linux/serial.h> | 12 | #include <linux/serial.h> |
13 | #include <linux/serial_sci.h> | 13 | #include <linux/serial_sci.h> |
14 | #include <linux/uio_driver.h> | 14 | #include <linux/uio_driver.h> |
15 | #include <linux/sh_cmt.h> | 15 | #include <linux/sh_timer.h> |
16 | #include <asm/clock.h> | 16 | #include <asm/clock.h> |
17 | 17 | ||
18 | static struct resource iic0_resources[] = { | 18 | static struct resource iic0_resources[] = { |
@@ -141,7 +141,7 @@ static struct platform_device jpu_device = { | |||
141 | .num_resources = ARRAY_SIZE(jpu_resources), | 141 | .num_resources = ARRAY_SIZE(jpu_resources), |
142 | }; | 142 | }; |
143 | 143 | ||
144 | static struct sh_cmt_config cmt_platform_data = { | 144 | static struct sh_timer_config cmt_platform_data = { |
145 | .name = "CMT", | 145 | .name = "CMT", |
146 | .channel_offset = 0x60, | 146 | .channel_offset = 0x60, |
147 | .timer_bit = 5, | 147 | .timer_bit = 5, |
diff --git a/arch/sh/kernel/cpu/sh4a/setup-sh7366.c b/arch/sh/kernel/cpu/sh4a/setup-sh7366.c index 2a771f48e9e0..7361ea989b96 100644 --- a/arch/sh/kernel/cpu/sh4a/setup-sh7366.c +++ b/arch/sh/kernel/cpu/sh4a/setup-sh7366.c | |||
@@ -14,7 +14,7 @@ | |||
14 | #include <linux/serial.h> | 14 | #include <linux/serial.h> |
15 | #include <linux/serial_sci.h> | 15 | #include <linux/serial_sci.h> |
16 | #include <linux/uio_driver.h> | 16 | #include <linux/uio_driver.h> |
17 | #include <linux/sh_cmt.h> | 17 | #include <linux/sh_timer.h> |
18 | #include <asm/clock.h> | 18 | #include <asm/clock.h> |
19 | 19 | ||
20 | static struct resource iic_resources[] = { | 20 | static struct resource iic_resources[] = { |
@@ -148,7 +148,7 @@ static struct platform_device veu1_device = { | |||
148 | .num_resources = ARRAY_SIZE(veu1_resources), | 148 | .num_resources = ARRAY_SIZE(veu1_resources), |
149 | }; | 149 | }; |
150 | 150 | ||
151 | static struct sh_cmt_config cmt_platform_data = { | 151 | static struct sh_timer_config cmt_platform_data = { |
152 | .name = "CMT", | 152 | .name = "CMT", |
153 | .channel_offset = 0x60, | 153 | .channel_offset = 0x60, |
154 | .timer_bit = 5, | 154 | .timer_bit = 5, |
diff --git a/arch/sh/kernel/cpu/sh4a/setup-sh7722.c b/arch/sh/kernel/cpu/sh4a/setup-sh7722.c index 512735c5cc86..624e8e5a605c 100644 --- a/arch/sh/kernel/cpu/sh4a/setup-sh7722.c +++ b/arch/sh/kernel/cpu/sh4a/setup-sh7722.c | |||
@@ -13,8 +13,7 @@ | |||
13 | #include <linux/serial_sci.h> | 13 | #include <linux/serial_sci.h> |
14 | #include <linux/mm.h> | 14 | #include <linux/mm.h> |
15 | #include <linux/uio_driver.h> | 15 | #include <linux/uio_driver.h> |
16 | #include <linux/sh_cmt.h> | 16 | #include <linux/sh_timer.h> |
17 | #include <linux/sh_tmu.h> | ||
18 | #include <asm/clock.h> | 17 | #include <asm/clock.h> |
19 | #include <asm/mmzone.h> | 18 | #include <asm/mmzone.h> |
20 | 19 | ||
@@ -178,7 +177,7 @@ static struct platform_device jpu_device = { | |||
178 | .num_resources = ARRAY_SIZE(jpu_resources), | 177 | .num_resources = ARRAY_SIZE(jpu_resources), |
179 | }; | 178 | }; |
180 | 179 | ||
181 | static struct sh_cmt_config cmt_platform_data = { | 180 | static struct sh_timer_config cmt_platform_data = { |
182 | .name = "CMT", | 181 | .name = "CMT", |
183 | .channel_offset = 0x60, | 182 | .channel_offset = 0x60, |
184 | .timer_bit = 5, | 183 | .timer_bit = 5, |
@@ -210,7 +209,7 @@ static struct platform_device cmt_device = { | |||
210 | .num_resources = ARRAY_SIZE(cmt_resources), | 209 | .num_resources = ARRAY_SIZE(cmt_resources), |
211 | }; | 210 | }; |
212 | 211 | ||
213 | static struct sh_tmu_config tmu0_platform_data = { | 212 | static struct sh_timer_config tmu0_platform_data = { |
214 | .name = "TMU0", | 213 | .name = "TMU0", |
215 | .channel_offset = 0x04, | 214 | .channel_offset = 0x04, |
216 | .timer_bit = 0, | 215 | .timer_bit = 0, |
@@ -241,7 +240,7 @@ static struct platform_device tmu0_device = { | |||
241 | .num_resources = ARRAY_SIZE(tmu0_resources), | 240 | .num_resources = ARRAY_SIZE(tmu0_resources), |
242 | }; | 241 | }; |
243 | 242 | ||
244 | static struct sh_tmu_config tmu1_platform_data = { | 243 | static struct sh_timer_config tmu1_platform_data = { |
245 | .name = "TMU1", | 244 | .name = "TMU1", |
246 | .channel_offset = 0x10, | 245 | .channel_offset = 0x10, |
247 | .timer_bit = 1, | 246 | .timer_bit = 1, |
@@ -272,7 +271,7 @@ static struct platform_device tmu1_device = { | |||
272 | .num_resources = ARRAY_SIZE(tmu1_resources), | 271 | .num_resources = ARRAY_SIZE(tmu1_resources), |
273 | }; | 272 | }; |
274 | 273 | ||
275 | static struct sh_tmu_config tmu2_platform_data = { | 274 | static struct sh_timer_config tmu2_platform_data = { |
276 | .name = "TMU2", | 275 | .name = "TMU2", |
277 | .channel_offset = 0x1c, | 276 | .channel_offset = 0x1c, |
278 | .timer_bit = 2, | 277 | .timer_bit = 2, |
diff --git a/arch/sh/kernel/cpu/sh4a/setup-sh7723.c b/arch/sh/kernel/cpu/sh4a/setup-sh7723.c index dbb44949ed19..fb9b5427a068 100644 --- a/arch/sh/kernel/cpu/sh4a/setup-sh7723.c +++ b/arch/sh/kernel/cpu/sh4a/setup-sh7723.c | |||
@@ -13,7 +13,7 @@ | |||
13 | #include <linux/mm.h> | 13 | #include <linux/mm.h> |
14 | #include <linux/serial_sci.h> | 14 | #include <linux/serial_sci.h> |
15 | #include <linux/uio_driver.h> | 15 | #include <linux/uio_driver.h> |
16 | #include <linux/sh_cmt.h> | 16 | #include <linux/sh_timer.h> |
17 | #include <asm/clock.h> | 17 | #include <asm/clock.h> |
18 | #include <asm/mmzone.h> | 18 | #include <asm/mmzone.h> |
19 | 19 | ||
@@ -101,7 +101,7 @@ static struct platform_device veu1_device = { | |||
101 | .num_resources = ARRAY_SIZE(veu1_resources), | 101 | .num_resources = ARRAY_SIZE(veu1_resources), |
102 | }; | 102 | }; |
103 | 103 | ||
104 | static struct sh_cmt_config cmt_platform_data = { | 104 | static struct sh_timer_config cmt_platform_data = { |
105 | .name = "CMT", | 105 | .name = "CMT", |
106 | .channel_offset = 0x60, | 106 | .channel_offset = 0x60, |
107 | .timer_bit = 5, | 107 | .timer_bit = 5, |
diff --git a/arch/sh/kernel/cpu/sh4a/setup-sh7724.c b/arch/sh/kernel/cpu/sh4a/setup-sh7724.c index 8429396acb59..e074951b88b9 100644 --- a/arch/sh/kernel/cpu/sh4a/setup-sh7724.c +++ b/arch/sh/kernel/cpu/sh4a/setup-sh7724.c | |||
@@ -18,7 +18,7 @@ | |||
18 | #include <linux/mm.h> | 18 | #include <linux/mm.h> |
19 | #include <linux/serial_sci.h> | 19 | #include <linux/serial_sci.h> |
20 | #include <linux/uio_driver.h> | 20 | #include <linux/uio_driver.h> |
21 | #include <linux/sh_cmt.h> | 21 | #include <linux/sh_timer.h> |
22 | #include <linux/io.h> | 22 | #include <linux/io.h> |
23 | #include <asm/clock.h> | 23 | #include <asm/clock.h> |
24 | #include <asm/mmzone.h> | 24 | #include <asm/mmzone.h> |
@@ -230,7 +230,7 @@ static struct platform_device veu1_device = { | |||
230 | .num_resources = ARRAY_SIZE(veu1_resources), | 230 | .num_resources = ARRAY_SIZE(veu1_resources), |
231 | }; | 231 | }; |
232 | 232 | ||
233 | static struct sh_cmt_config cmt_platform_data = { | 233 | static struct sh_timer_config cmt_platform_data = { |
234 | .name = "CMT", | 234 | .name = "CMT", |
235 | .channel_offset = 0x60, | 235 | .channel_offset = 0x60, |
236 | .timer_bit = 5, | 236 | .timer_bit = 5, |