aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/kernel/cpu/sh2a/setup-sh7206.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sh/kernel/cpu/sh2a/setup-sh7206.c')
-rw-r--r--arch/sh/kernel/cpu/sh2a/setup-sh7206.c13
1 files changed, 6 insertions, 7 deletions
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
19enum { 18enum {
@@ -168,7 +167,7 @@ static struct platform_device sci_device = {
168 }, 167 },
169}; 168};
170 169
171static struct sh_cmt_config cmt0_platform_data = { 170static 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
203static struct sh_cmt_config cmt1_platform_data = { 202static 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
235static struct sh_mtu2_config mtu2_0_platform_data = { 234static 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
266static struct sh_mtu2_config mtu2_1_platform_data = { 265static 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
297static struct sh_mtu2_config mtu2_2_platform_data = { 296static 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,