Commit ec0ffe2e authored by Paul Mundt's avatar Paul Mundt

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: default avatarPaul Mundt <lethal@linux-sh.org>
parent 214a607a
...@@ -128,7 +128,6 @@ static struct platform_device eth_device = { ...@@ -128,7 +128,6 @@ static struct platform_device eth_device = {
}; };
static struct sh_timer_config cmt0_platform_data = { static struct sh_timer_config cmt0_platform_data = {
.name = "CMT0",
.channel_offset = 0x02, .channel_offset = 0x02,
.timer_bit = 0, .timer_bit = 0,
.clk = "peripheral_clk", .clk = "peripheral_clk",
...@@ -138,7 +137,6 @@ static struct sh_timer_config cmt0_platform_data = { ...@@ -138,7 +137,6 @@ static struct sh_timer_config cmt0_platform_data = {
static struct resource cmt0_resources[] = { static struct resource cmt0_resources[] = {
[0] = { [0] = {
.name = "CMT0",
.start = 0xf84a0072, .start = 0xf84a0072,
.end = 0xf84a0077, .end = 0xf84a0077,
.flags = IORESOURCE_MEM, .flags = IORESOURCE_MEM,
...@@ -160,7 +158,6 @@ static struct platform_device cmt0_device = { ...@@ -160,7 +158,6 @@ static struct platform_device cmt0_device = {
}; };
static struct sh_timer_config cmt1_platform_data = { static struct sh_timer_config cmt1_platform_data = {
.name = "CMT1",
.channel_offset = 0x08, .channel_offset = 0x08,
.timer_bit = 1, .timer_bit = 1,
.clk = "peripheral_clk", .clk = "peripheral_clk",
...@@ -170,7 +167,6 @@ static struct sh_timer_config cmt1_platform_data = { ...@@ -170,7 +167,6 @@ static struct sh_timer_config cmt1_platform_data = {
static struct resource cmt1_resources[] = { static struct resource cmt1_resources[] = {
[0] = { [0] = {
.name = "CMT1",
.start = 0xf84a0078, .start = 0xf84a0078,
.end = 0xf84a007d, .end = 0xf84a007d,
.flags = IORESOURCE_MEM, .flags = IORESOURCE_MEM,
......
...@@ -115,7 +115,6 @@ static DECLARE_INTC_DESC(intc_desc, "mxg", vectors, groups, ...@@ -115,7 +115,6 @@ static DECLARE_INTC_DESC(intc_desc, "mxg", vectors, groups,
mask_registers, prio_registers, NULL); mask_registers, prio_registers, NULL);
static struct sh_timer_config mtu2_0_platform_data = { static struct sh_timer_config mtu2_0_platform_data = {
.name = "MTU2_0",
.channel_offset = -0x80, .channel_offset = -0x80,
.timer_bit = 0, .timer_bit = 0,
.clk = "peripheral_clk", .clk = "peripheral_clk",
...@@ -124,7 +123,6 @@ static struct sh_timer_config mtu2_0_platform_data = { ...@@ -124,7 +123,6 @@ static struct sh_timer_config mtu2_0_platform_data = {
static struct resource mtu2_0_resources[] = { static struct resource mtu2_0_resources[] = {
[0] = { [0] = {
.name = "MTU2_0",
.start = 0xff801300, .start = 0xff801300,
.end = 0xff801326, .end = 0xff801326,
.flags = IORESOURCE_MEM, .flags = IORESOURCE_MEM,
...@@ -146,7 +144,6 @@ static struct platform_device mtu2_0_device = { ...@@ -146,7 +144,6 @@ static struct platform_device mtu2_0_device = {
}; };
static struct sh_timer_config mtu2_1_platform_data = { static struct sh_timer_config mtu2_1_platform_data = {
.name = "MTU2_1",
.channel_offset = -0x100, .channel_offset = -0x100,
.timer_bit = 1, .timer_bit = 1,
.clk = "peripheral_clk", .clk = "peripheral_clk",
...@@ -155,7 +152,6 @@ static struct sh_timer_config mtu2_1_platform_data = { ...@@ -155,7 +152,6 @@ static struct sh_timer_config mtu2_1_platform_data = {
static struct resource mtu2_1_resources[] = { static struct resource mtu2_1_resources[] = {
[0] = { [0] = {
.name = "MTU2_1",
.start = 0xff801380, .start = 0xff801380,
.end = 0xff801390, .end = 0xff801390,
.flags = IORESOURCE_MEM, .flags = IORESOURCE_MEM,
...@@ -177,7 +173,6 @@ static struct platform_device mtu2_1_device = { ...@@ -177,7 +173,6 @@ static struct platform_device mtu2_1_device = {
}; };
static struct sh_timer_config mtu2_2_platform_data = { static struct sh_timer_config mtu2_2_platform_data = {
.name = "MTU2_2",
.channel_offset = 0x80, .channel_offset = 0x80,
.timer_bit = 2, .timer_bit = 2,
.clk = "peripheral_clk", .clk = "peripheral_clk",
...@@ -186,7 +181,6 @@ static struct sh_timer_config mtu2_2_platform_data = { ...@@ -186,7 +181,6 @@ static struct sh_timer_config mtu2_2_platform_data = {
static struct resource mtu2_2_resources[] = { static struct resource mtu2_2_resources[] = {
[0] = { [0] = {
.name = "MTU2_2",
.start = 0xff801000, .start = 0xff801000,
.end = 0xff80100a, .end = 0xff80100a,
.flags = IORESOURCE_MEM, .flags = IORESOURCE_MEM,
......
...@@ -318,7 +318,6 @@ static struct platform_device rtc_device = { ...@@ -318,7 +318,6 @@ static struct platform_device rtc_device = {
}; };
static struct sh_timer_config mtu2_0_platform_data = { static struct sh_timer_config mtu2_0_platform_data = {
.name = "MTU2_0",
.channel_offset = -0x80, .channel_offset = -0x80,
.timer_bit = 0, .timer_bit = 0,
.clk = "peripheral_clk", .clk = "peripheral_clk",
...@@ -327,7 +326,6 @@ static struct sh_timer_config mtu2_0_platform_data = { ...@@ -327,7 +326,6 @@ static struct sh_timer_config mtu2_0_platform_data = {
static struct resource mtu2_0_resources[] = { static struct resource mtu2_0_resources[] = {
[0] = { [0] = {
.name = "MTU2_0",
.start = 0xfffe4300, .start = 0xfffe4300,
.end = 0xfffe4326, .end = 0xfffe4326,
.flags = IORESOURCE_MEM, .flags = IORESOURCE_MEM,
...@@ -349,7 +347,6 @@ static struct platform_device mtu2_0_device = { ...@@ -349,7 +347,6 @@ static struct platform_device mtu2_0_device = {
}; };
static struct sh_timer_config mtu2_1_platform_data = { static struct sh_timer_config mtu2_1_platform_data = {
.name = "MTU2_1",
.channel_offset = -0x100, .channel_offset = -0x100,
.timer_bit = 1, .timer_bit = 1,
.clk = "peripheral_clk", .clk = "peripheral_clk",
...@@ -358,7 +355,6 @@ static struct sh_timer_config mtu2_1_platform_data = { ...@@ -358,7 +355,6 @@ static struct sh_timer_config mtu2_1_platform_data = {
static struct resource mtu2_1_resources[] = { static struct resource mtu2_1_resources[] = {
[0] = { [0] = {
.name = "MTU2_1",
.start = 0xfffe4380, .start = 0xfffe4380,
.end = 0xfffe4390, .end = 0xfffe4390,
.flags = IORESOURCE_MEM, .flags = IORESOURCE_MEM,
...@@ -380,7 +376,6 @@ static struct platform_device mtu2_1_device = { ...@@ -380,7 +376,6 @@ static struct platform_device mtu2_1_device = {
}; };
static struct sh_timer_config mtu2_2_platform_data = { static struct sh_timer_config mtu2_2_platform_data = {
.name = "MTU2_2",
.channel_offset = 0x80, .channel_offset = 0x80,
.timer_bit = 2, .timer_bit = 2,
.clk = "peripheral_clk", .clk = "peripheral_clk",
...@@ -389,7 +384,6 @@ static struct sh_timer_config mtu2_2_platform_data = { ...@@ -389,7 +384,6 @@ static struct sh_timer_config mtu2_2_platform_data = {
static struct resource mtu2_2_resources[] = { static struct resource mtu2_2_resources[] = {
[0] = { [0] = {
.name = "MTU2_2",
.start = 0xfffe4000, .start = 0xfffe4000,
.end = 0xfffe400a, .end = 0xfffe400a,
.flags = IORESOURCE_MEM, .flags = IORESOURCE_MEM,
......
...@@ -234,7 +234,6 @@ static struct platform_device scif3_device = { ...@@ -234,7 +234,6 @@ static struct platform_device scif3_device = {
}; };
static struct sh_timer_config cmt0_platform_data = { static struct sh_timer_config cmt0_platform_data = {
.name = "CMT0",
.channel_offset = 0x02, .channel_offset = 0x02,
.timer_bit = 0, .timer_bit = 0,
.clk = "peripheral_clk", .clk = "peripheral_clk",
...@@ -244,7 +243,6 @@ static struct sh_timer_config cmt0_platform_data = { ...@@ -244,7 +243,6 @@ static struct sh_timer_config cmt0_platform_data = {
static struct resource cmt0_resources[] = { static struct resource cmt0_resources[] = {
[0] = { [0] = {
.name = "CMT0",
.start = 0xfffec002, .start = 0xfffec002,
.end = 0xfffec007, .end = 0xfffec007,
.flags = IORESOURCE_MEM, .flags = IORESOURCE_MEM,
...@@ -266,7 +264,6 @@ static struct platform_device cmt0_device = { ...@@ -266,7 +264,6 @@ static struct platform_device cmt0_device = {
}; };
static struct sh_timer_config cmt1_platform_data = { static struct sh_timer_config cmt1_platform_data = {
.name = "CMT1",
.channel_offset = 0x08, .channel_offset = 0x08,
.timer_bit = 1, .timer_bit = 1,
.clk = "peripheral_clk", .clk = "peripheral_clk",
...@@ -276,7 +273,6 @@ static struct sh_timer_config cmt1_platform_data = { ...@@ -276,7 +273,6 @@ static struct sh_timer_config cmt1_platform_data = {
static struct resource cmt1_resources[] = { static struct resource cmt1_resources[] = {
[0] = { [0] = {
.name = "CMT1",
.start = 0xfffec008, .start = 0xfffec008,
.end = 0xfffec00d, .end = 0xfffec00d,
.flags = IORESOURCE_MEM, .flags = IORESOURCE_MEM,
...@@ -298,7 +294,6 @@ static struct platform_device cmt1_device = { ...@@ -298,7 +294,6 @@ static struct platform_device cmt1_device = {
}; };
static struct sh_timer_config mtu2_0_platform_data = { static struct sh_timer_config mtu2_0_platform_data = {
.name = "MTU2_0",
.channel_offset = -0x80, .channel_offset = -0x80,
.timer_bit = 0, .timer_bit = 0,
.clk = "peripheral_clk", .clk = "peripheral_clk",
...@@ -307,7 +302,6 @@ static struct sh_timer_config mtu2_0_platform_data = { ...@@ -307,7 +302,6 @@ static struct sh_timer_config mtu2_0_platform_data = {
static struct resource mtu2_0_resources[] = { static struct resource mtu2_0_resources[] = {
[0] = { [0] = {
.name = "MTU2_0",
.start = 0xfffe4300, .start = 0xfffe4300,
.end = 0xfffe4326, .end = 0xfffe4326,
.flags = IORESOURCE_MEM, .flags = IORESOURCE_MEM,
...@@ -329,7 +323,6 @@ static struct platform_device mtu2_0_device = { ...@@ -329,7 +323,6 @@ static struct platform_device mtu2_0_device = {
}; };
static struct sh_timer_config mtu2_1_platform_data = { static struct sh_timer_config mtu2_1_platform_data = {
.name = "MTU2_1",
.channel_offset = -0x100, .channel_offset = -0x100,
.timer_bit = 1, .timer_bit = 1,
.clk = "peripheral_clk", .clk = "peripheral_clk",
...@@ -338,7 +331,6 @@ static struct sh_timer_config mtu2_1_platform_data = { ...@@ -338,7 +331,6 @@ static struct sh_timer_config mtu2_1_platform_data = {
static struct resource mtu2_1_resources[] = { static struct resource mtu2_1_resources[] = {
[0] = { [0] = {
.name = "MTU2_1",
.start = 0xfffe4380, .start = 0xfffe4380,
.end = 0xfffe4390, .end = 0xfffe4390,
.flags = IORESOURCE_MEM, .flags = IORESOURCE_MEM,
......
...@@ -194,7 +194,6 @@ static struct platform_device scif3_device = { ...@@ -194,7 +194,6 @@ static struct platform_device scif3_device = {
}; };
static struct sh_timer_config cmt0_platform_data = { static struct sh_timer_config cmt0_platform_data = {
.name = "CMT0",
.channel_offset = 0x02, .channel_offset = 0x02,
.timer_bit = 0, .timer_bit = 0,
.clk = "peripheral_clk", .clk = "peripheral_clk",
...@@ -204,7 +203,6 @@ static struct sh_timer_config cmt0_platform_data = { ...@@ -204,7 +203,6 @@ static struct sh_timer_config cmt0_platform_data = {
static struct resource cmt0_resources[] = { static struct resource cmt0_resources[] = {
[0] = { [0] = {
.name = "CMT0",
.start = 0xfffec002, .start = 0xfffec002,
.end = 0xfffec007, .end = 0xfffec007,
.flags = IORESOURCE_MEM, .flags = IORESOURCE_MEM,
...@@ -226,7 +224,6 @@ static struct platform_device cmt0_device = { ...@@ -226,7 +224,6 @@ static struct platform_device cmt0_device = {
}; };
static struct sh_timer_config cmt1_platform_data = { static struct sh_timer_config cmt1_platform_data = {
.name = "CMT1",
.channel_offset = 0x08, .channel_offset = 0x08,
.timer_bit = 1, .timer_bit = 1,
.clk = "peripheral_clk", .clk = "peripheral_clk",
...@@ -236,7 +233,6 @@ static struct sh_timer_config cmt1_platform_data = { ...@@ -236,7 +233,6 @@ static struct sh_timer_config cmt1_platform_data = {
static struct resource cmt1_resources[] = { static struct resource cmt1_resources[] = {
[0] = { [0] = {
.name = "CMT1",
.start = 0xfffec008, .start = 0xfffec008,
.end = 0xfffec00d, .end = 0xfffec00d,
.flags = IORESOURCE_MEM, .flags = IORESOURCE_MEM,
...@@ -258,7 +254,6 @@ static struct platform_device cmt1_device = { ...@@ -258,7 +254,6 @@ static struct platform_device cmt1_device = {
}; };
static struct sh_timer_config mtu2_0_platform_data = { static struct sh_timer_config mtu2_0_platform_data = {
.name = "MTU2_0",
.channel_offset = -0x80, .channel_offset = -0x80,
.timer_bit = 0, .timer_bit = 0,
.clk = "peripheral_clk", .clk = "peripheral_clk",
...@@ -267,7 +262,6 @@ static struct sh_timer_config mtu2_0_platform_data = { ...@@ -267,7 +262,6 @@ static struct sh_timer_config mtu2_0_platform_data = {
static struct resource mtu2_0_resources[] = { static struct resource mtu2_0_resources[] = {
[0] = { [0] = {
.name = "MTU2_0",
.start = 0xfffe4300, .start = 0xfffe4300,
.end = 0xfffe4326, .end = 0xfffe4326,
.flags = IORESOURCE_MEM, .flags = IORESOURCE_MEM,
...@@ -289,7 +283,6 @@ static struct platform_device mtu2_0_device = { ...@@ -289,7 +283,6 @@ static struct platform_device mtu2_0_device = {
}; };
static struct sh_timer_config mtu2_1_platform_data = { static struct sh_timer_config mtu2_1_platform_data = {
.name = "MTU2_1",
.channel_offset = -0x100, .channel_offset = -0x100,
.timer_bit = 1, .timer_bit = 1,
.clk = "peripheral_clk", .clk = "peripheral_clk",
...@@ -298,7 +291,6 @@ static struct sh_timer_config mtu2_1_platform_data = { ...@@ -298,7 +291,6 @@ static struct sh_timer_config mtu2_1_platform_data = {
static struct resource mtu2_1_resources[] = { static struct resource mtu2_1_resources[] = {
[0] = { [0] = {
.name = "MTU2_1",
.start = 0xfffe4380, .start = 0xfffe4380,
.end = 0xfffe4390, .end = 0xfffe4390,
.flags = IORESOURCE_MEM, .flags = IORESOURCE_MEM,
...@@ -320,7 +312,6 @@ static struct platform_device mtu2_1_device = { ...@@ -320,7 +312,6 @@ static struct platform_device mtu2_1_device = {
}; };
static struct sh_timer_config mtu2_2_platform_data = { static struct sh_timer_config mtu2_2_platform_data = {
.name = "MTU2_2",
.channel_offset = 0x80, .channel_offset = 0x80,
.timer_bit = 2, .timer_bit = 2,
.clk = "peripheral_clk", .clk = "peripheral_clk",
...@@ -329,7 +320,6 @@ static struct sh_timer_config mtu2_2_platform_data = { ...@@ -329,7 +320,6 @@ static struct sh_timer_config mtu2_2_platform_data = {
static struct resource mtu2_2_resources[] = { static struct resource mtu2_2_resources[] = {
[0] = { [0] = {
.name = "MTU2_2",
.start = 0xfffe4000, .start = 0xfffe4000,
.end = 0xfffe400a, .end = 0xfffe400a,
.flags = IORESOURCE_MEM, .flags = IORESOURCE_MEM,
......
...@@ -124,7 +124,6 @@ static struct platform_device rtc_device = { ...@@ -124,7 +124,6 @@ static struct platform_device rtc_device = {
}; };
static struct sh_timer_config tmu0_platform_data = { static struct sh_timer_config tmu0_platform_data = {
.name = "TMU0",
.channel_offset = 0x02, .channel_offset = 0x02,
.timer_bit = 0, .timer_bit = 0,
.clk = "peripheral_clk", .clk = "peripheral_clk",
...@@ -133,7 +132,6 @@ static struct sh_timer_config tmu0_platform_data = { ...@@ -133,7 +132,6 @@ static struct sh_timer_config tmu0_platform_data = {
static struct resource tmu0_resources[] = { static struct resource tmu0_resources[] = {
[0] = { [0] = {
.name = "TMU0",
.start = 0xfffffe94, .start = 0xfffffe94,
.end = 0xfffffe9f, .end = 0xfffffe9f,
.flags = IORESOURCE_MEM, .flags = IORESOURCE_MEM,
...@@ -155,7 +153,6 @@ static struct platform_device tmu0_device = { ...@@ -155,7 +153,6 @@ static struct platform_device tmu0_device = {
}; };
static struct sh_timer_config tmu1_platform_data = { static struct sh_timer_config tmu1_platform_data = {
.name = "TMU1",
.channel_offset = 0xe, .channel_offset = 0xe,
.timer_bit = 1, .timer_bit = 1,
.clk = "peripheral_clk", .clk = "peripheral_clk",
...@@ -164,7 +161,6 @@ static struct sh_timer_config tmu1_platform_data = { ...@@ -164,7 +161,6 @@ static struct sh_timer_config tmu1_platform_data = {
static struct resource tmu1_resources[] = { static struct resource tmu1_resources[] = {
[0] = { [0] = {
.name = "TMU1",
.start = 0xfffffea0, .start = 0xfffffea0,
.end = 0xfffffeab, .end = 0xfffffeab,
.flags = IORESOURCE_MEM, .flags = IORESOURCE_MEM,
...@@ -186,7 +182,6 @@ static struct platform_device tmu1_device = { ...@@ -186,7 +182,6 @@ static struct platform_device tmu1_device = {
}; };
static struct sh_timer_config tmu2_platform_data = { static struct sh_timer_config tmu2_platform_data = {
.name = "TMU2",
.channel_offset = 0x1a, .channel_offset = 0x1a,
.timer_bit = 2, .timer_bit = 2,
.clk = "peripheral_clk", .clk = "peripheral_clk",
...@@ -194,7 +189,6 @@ static struct sh_timer_config tmu2_platform_data = { ...@@ -194,7 +189,6 @@ static struct sh_timer_config tmu2_platform_data = {
static struct resource tmu2_resources[] = { static struct resource tmu2_resources[] = {
[0] = { [0] = {
.name = "TMU2",
.start = 0xfffffeac, .start = 0xfffffeac,
.end = 0xfffffebb, .end = 0xfffffebb,
.flags = IORESOURCE_MEM, .flags = IORESOURCE_MEM,
......
...@@ -157,7 +157,6 @@ static struct platform_device scif2_device = { ...@@ -157,7 +157,6 @@ static struct platform_device scif2_device = {
#endif #endif
static struct sh_timer_config tmu0_platform_data = { static struct sh_timer_config tmu0_platform_data = {
.name = "TMU0",
.channel_offset = 0x02, .channel_offset = 0x02,
.timer_bit = 0, .timer_bit = 0,
.clk = "peripheral_clk", .clk = "peripheral_clk",
...@@ -166,7 +165,6 @@ static struct sh_timer_config tmu0_platform_data = { ...@@ -166,7 +165,6 @@ static struct sh_timer_config tmu0_platform_data = {
static struct resource tmu0_resources[] = { static struct resource tmu0_resources[] = {
[0] = { [0] = {
.name = "TMU0",
.start = 0xfffffe94, .start = 0xfffffe94,
.end = 0xfffffe9f, .end = 0xfffffe9f,
.flags = IORESOURCE_MEM, .flags = IORESOURCE_MEM,
...@@ -188,7 +186,6 @@ static struct platform_device tmu0_device = { ...@@ -188,7 +186,6 @@ static struct platform_device tmu0_device = {
}; };
static struct sh_timer_config tmu1_platform_data = { static struct sh_timer_config tmu1_platform_data = {
.name = "TMU1",
.channel_offset = 0xe, .channel_offset = 0xe,
.timer_bit = 1, .timer_bit = 1,
.clk = "peripheral_clk", .clk = "peripheral_clk",
...@@ -197,7 +194,6 @@ static struct sh_timer_config tmu1_platform_data = { ...@@ -197,7 +194,6 @@ static struct sh_timer_config tmu1_platform_data = {
static struct resource tmu1_resources[] = { static struct resource tmu1_resources[] = {
[0] = { [0] = {
.name = "TMU1",
.start = 0xfffffea0, .start = 0xfffffea0,
.end = 0xfffffeab, .end = 0xfffffeab,
.flags = IORESOURCE_MEM, .flags = IORESOURCE_MEM,
...@@ -219,7 +215,6 @@ static struct platform_device tmu1_device = { ...@@ -219,7 +215,6 @@ static struct platform_device tmu1_device = {
}; };
static struct sh_timer_config tmu2_platform_data = { static struct sh_timer_config tmu2_platform_data = {
.name = "TMU2",
.channel_offset = 0x1a, .channel_offset = 0x1a,
.timer_bit = 2, .timer_bit = 2,
.clk = "peripheral_clk", .clk = "peripheral_clk",
...@@ -227,7 +222,6 @@ static struct sh_timer_config tmu2_platform_data = { ...@@ -227,7 +222,6 @@ static struct sh_timer_config tmu2_platform_data = {
static struct resource tmu2_resources[] = { static struct resource tmu2_resources[] = {
[0] = { [0] = {
.name = "TMU2",
.start = 0xfffffeac, .start = 0xfffffeac,
.end = 0xfffffebb, .end = 0xfffffebb,
.flags = IORESOURCE_MEM, .flags = IORESOURCE_MEM,
......
...@@ -127,7 +127,6 @@ static struct platform_device scif1_device = { ...@@ -127,7 +127,6 @@ static struct platform_device scif1_device = {
}; };
static struct sh_timer_config tmu0_platform_data = { static struct sh_timer_config tmu0_platform_data = {
.name = "TMU0",
.channel_offset = 0x02, .channel_offset = 0x02,
.timer_bit = 0, .timer_bit = 0,
.clk = "peripheral_clk", .clk = "peripheral_clk",
...@@ -136,7 +135,6 @@ static struct sh_timer_config tmu0_platform_data = { ...@@ -136,7 +135,6 @@ static struct sh_timer_config tmu0_platform_data = {
static struct resource tmu0_resources[] = { static struct resource tmu0_resources[] = {
[0] = { [0] = {
.name = "TMU0",
.start = 0xa412fe94, .start = 0xa412fe94,
.end = 0xa412fe9f, .end = 0xa412fe9f,
.flags = IORESOURCE_MEM, .flags = IORESOURCE_MEM,
...@@ -158,7 +156,6 @@ static struct platform_device tmu0_device = { ...@@ -158,7 +156,6 @@ static struct platform_device tmu0_device = {
}; };
static struct sh_timer_config tmu1_platform_data = { static struct sh_timer_config tmu1_platform_data = {
.name = "TMU1",
.channel_offset = 0xe, .channel_offset = 0xe,
.timer_bit = 1, .timer_bit = 1,
.clk = "peripheral_clk", .clk = "peripheral_clk",
...@@ -167,7 +164,6 @@ static struct sh_timer_config tmu1_platform_data = { ...@@ -167,7 +164,6 @@ static struct sh_timer_config tmu1_platform_data = {
static struct resource tmu1_resources[] = { static struct resource tmu1_resources[] = {
[0] = { [0] = {
.name = "TMU1",
.start = 0xa412fea0, .start = 0xa412fea0,
.end = 0xa412feab, .end = 0xa412feab,
.flags = IORESOURCE_MEM, .flags = IORESOURCE_MEM,
...@@ -189,7 +185,6 @@ static struct platform_device tmu1_device = { ...@@ -189,7 +185,6 @@ static struct platform_device tmu1_device = {
}; };
static struct sh_timer_config tmu2_platform_data = { static struct sh_timer_config tmu2_platform_data = {
.name = "TMU2",
.channel_offset = 0x1a, .channel_offset = 0x1a,
.timer_bit = 2, .timer_bit = 2,
.clk = "peripheral_clk", .clk = "peripheral_clk",
...@@ -197,7 +192,6 @@ static struct sh_timer_config tmu2_platform_data = { ...@@ -197,7 +192,6 @@ static struct sh_timer_config tmu2_platform_data = {
static struct resource tmu2_resources[] = { static struct resource tmu2_resources[] = {
[0] = { [0] = {
.name = "TMU2",
.start = 0xa412feac, .start = 0xa412feac,
.end = 0xa412feb5, .end = 0xa412feb5,
.flags = IORESOURCE_MEM, .flags = IORESOURCE_MEM,
......
...@@ -130,7 +130,6 @@ static struct platform_device usbf_device = { ...@@ -130,7 +130,6 @@ static struct platform_device usbf_device = {
}; };
static struct sh_timer_config cmt0_platform_data = { static struct sh_timer_config cmt0_platform_data = {
.name = "CMT0",
.channel_offset = 0x10, .channel_offset = 0x10,
.timer_bit = 0, .timer_bit = 0,
.clk = "peripheral_clk", .clk = "peripheral_clk",
...@@ -140,7 +139,6 @@ static struct sh_timer_config cmt0_platform_data = { ...@@ -140,7 +139,6 @@ static struct sh_timer_config cmt0_platform_data = {
static struct resource cmt0_resources[] = { static struct resource cmt0_resources[] = {
[0] = { [0] = {
.name = "CMT0",
.start = 0x044a0010, .start = 0x044a0010,
.end = 0x044a001b, .end = 0x044a001b,
.flags = IORESOURCE_MEM, .flags = IORESOURCE_MEM,
...@@ -162,7 +160,6 @@ static struct platform_device cmt0_device = { ...@@ -162,7 +160,6 @@ static struct platform_device cmt0_device = {
}; };
static struct sh_timer_config cmt1_platform_data = { static struct sh_timer_config cmt1_platform_data = {
.name = "CMT1",
.channel_offset = 0x20, .channel_offset = 0x20,
.timer_bit = 1, .timer_bit = 1,
.clk = "peripheral_clk", .clk = "peripheral_clk",
...@@ -170,7 +167,6 @@ static struct sh_timer_config cmt1_platform_data = { ...@@ -170,7 +167,6 @@ static struct sh_timer_config cmt1_platform_data = {
static struct resource cmt1_resources[] = { static struct resource cmt1_resources[] = {
[0] = { [0] = {
.name = "CMT1",
.start = 0x044a0020, .start = 0x044a0020,
.end = 0x044a002b, .end = 0x044a002b,
.flags = IORESOURCE_MEM, .flags = IORESOURCE_MEM,
...@@ -192,7 +188,6 @@ static struct platform_device cmt1_device = { ...@@ -192,7 +188,6 @@ static struct platform_device cmt1_device = {
}; };
static struct sh_timer_config cmt2_platform_data = { static struct sh_timer_config cmt2_platform_data = {
.name = "CMT2",
.channel_offset = 0x30, .channel_offset = 0x30,
.timer_bit = 2, .timer_bit = 2,
.clk = "peripheral_clk", .clk = "peripheral_clk",
...@@ -200,7 +195,6 @@ static struct sh_timer_config cmt2_platform_data = { ...@@ -200,7 +195,6 @@ static struct sh_timer_config cmt2_platform_data = {
static struct resource cmt2_resources[] = { static struct resource cmt2_resources[] = {
[0] = { [0] = {
.name = "CMT2",
.start = 0x044a0030, .start = 0x044a0030,
.end = 0x044a003b, .end = 0x044a003b,
.flags = IORESOURCE_MEM, .flags = IORESOURCE_MEM,
...@@ -222,7 +216,6 @@ static struct platform_device cmt2_device = { ...@@ -222,7 +216,6 @@ static struct platform_device cmt2_device = {
}; };
static struct sh_timer_config cmt3_platform_data = { static struct sh_timer_config cmt3_platform_data = {
.name = "CMT3",
.channel_offset = 0x40, .channel_offset = 0x40,
.timer_bit = 3, .timer_bit = 3,
.clk = "peripheral_clk", .clk = "peripheral_clk",
...@@ -230,7 +223,6 @@ static struct sh_timer_config cmt3_platform_data = { ...@@ -230,7 +223,6 @@ static struct sh_timer_config cmt3_platform_data = {
static struct resource cmt3_resources[] = { static struct resource cmt3_resources[] = {
[0] = { [0] = {
.name = "CMT3",
.start = 0x044a0040, .start = 0x044a0040,
.end = 0x044a004b, .end = 0x044a004b,
.flags = IORESOURCE_MEM, .flags = IORESOURCE_MEM,
...@@ -252,7 +244,6 @@ static struct platform_device cmt3_device = { ...@@ -252,7 +244,6 @@ static struct platform_device cmt3_device = {
}; };
static struct sh_timer_config cmt4_platform_data = { static struct sh_timer_config cmt4_platform_data = {
.name = "CMT4",
.channel_offset = 0x50, .channel_offset = 0x50,
.timer_bit = 4, .timer_bit = 4,
.clk = "peripheral_clk", .clk = "peripheral_clk",
...@@ -260,7 +251,6 @@ static struct sh_timer_config cmt4_platform_data = { ...@@ -260,7 +251,6 @@ static struct sh_timer_config cmt4_platform_data = {
static struct resource cmt4_resources[] = { static struct resource cmt4_resources[] = {
[0] = { [0] = {
.name = "CMT4",
.start = 0x044a0050, .start = 0x044a0050,
.end = 0x044a005b, .end = 0x044a005b,
.flags = IORESOURCE_MEM, .flags = IORESOURCE_MEM,
...@@ -282,7 +272,6 @@ static struct platform_device cmt4_device = { ...@@ -282,7 +272,6 @@ static struct platform_device cmt4_device = {
}; };
static struct sh_timer_config tmu0_platform_data = { static struct sh_timer_config tmu0_platform_data = {
.name = "TMU0",
.channel_offset = 0x02, .channel_offset = 0x02,
.timer_bit = 0, .timer_bit = 0,
.clk = "peripheral_clk", .clk = "peripheral_clk",
...@@ -291,7 +280,6 @@ static struct sh_timer_config tmu0_platform_data = { ...@@ -291,7 +280,6 @@ static struct sh_timer_config tmu0_platform_data = {
static struct resource tmu0_resources[] = { static struct resource tmu0_resources[] = {
[0] = { [0] = {
.name = "TMU0",
.start = 0xa412fe94, .start = 0xa412fe94,
.end = 0xa412fe9f, .end = 0xa412fe9f,
.flags = IORESOURCE_MEM, .flags = IORESOURCE_MEM,
...@@ -313,7 +301,6 @@ static struct platform_device tmu0_device = { ...@@ -313,7 +301,6 @@ static struct platform_device tmu0_device = {
}; };
static struct sh_timer_config tmu1_platform_data = { static struct sh_timer_config tmu1_platform_data = {
.name = "TMU1",
.channel_offset = 0xe, .channel_offset = 0xe,
.timer_bit = 1, .timer_bit = 1,
.clk = "peripheral_clk", .clk = "peripheral_clk",
...@@ -322,7 +309,6 @@ static struct sh_timer_config tmu1_platform_data = { ...@@ -322,7 +309,6 @@ static struct sh_timer_config tmu1_platform_data = {
static struct resource tmu1_resources[] = { static struct resource tmu1_resources[] = {
[0] = { [0] = {
.name = "TMU1",
.start = 0xa412fea0, .start = 0xa412fea0,
.end = 0xa412feab, .end = 0xa412feab,
.flags = IORESOURCE_MEM, .flags = IORESOURCE_MEM,
...@@ -344,7 +330,6 @@ static struct platform_device tmu1_device = { ...@@ -344,7 +330,6 @@ static struct platform_device tmu1_device = {
}; };
static struct sh_timer_config tmu2_platform_data = { static struct sh_timer_config tmu2_platform_data = {
.name = "TMU2",
.channel_offset = 0x1a, .channel_offset = 0x1a,
.timer_bit = 2, .timer_bit = 2,
.clk = "peripheral_clk", .clk = "peripheral_clk",
...@@ -352,7 +337,6 @@ static struct sh_timer_config tmu2_platform_data = { ...@@ -352,7 +337,6 @@ static struct sh_timer_config tmu2_platform_data = {
static struct resource tmu2_resources[] = { static struct resource tmu2_resources[] = {
[0] = { [0] = {
.name = "TMU2",
.start = 0xa412feac, .start = 0xa412feac,
.end = 0xa412feb5, .end = 0xa412feb5,
.flags = IORESOURCE_MEM, .flags = IORESOURCE_MEM,
......
...@@ -31,7 +31,6 @@ static struct platform_device scif0_device = { ...@@ -31,7 +31,6 @@ static struct platform_device scif0_device = {
}; };
static struct sh_timer_config tmu0_platform_data = { static struct sh_timer_config tmu0_platform_data = {
.name = "TMU0",
.channel_offset = 0x04, .channel_offset = 0x04,
.timer_bit = 0, .timer_bit = 0,
.clk = "peripheral_clk", .clk = "peripheral_clk",
...@@ -40,7 +39,6 @@ static struct sh_timer_config tmu0_platform_data = { ...@@ -40,7 +39,6 @@ static struct sh_timer_config tmu0_platform_data = {
static struct resource tmu0_resources[] = { static struct resource tmu0_resources[] = {
[0] = { [0] = {
.name = "TMU0",
.start = 0xffd80008, .start = 0xffd80008,
.end = 0xffd80013, .end = 0xffd80013,
.flags = IORESOURCE_MEM, .flags = IORESOURCE_MEM,
...@@ -62,7 +60,6 @@ static struct platform_device tmu0_device = { ...@@ -62,7 +60,6 @@ static struct platform_device tmu0_device = {
}; };
static struct sh_timer_config tmu1_platform_data = { static struct sh_timer_config tmu1_platform_data = {
.name = "TMU1",
.channel_offset = 0x10, .channel_offset = 0x10,
.timer_bit = 1, .timer_bit = 1,
.clk = "peripheral_clk", .clk = "peripheral_clk",
...@@ -71,7 +68,6 @@ static struct sh_timer_config tmu1_platform_data = { ...@@ -71,7 +68,6 @@ static struct sh_timer_config tmu1_platform_data = {
static struct resource tmu1_resources[] = { static struct resource tmu1_resources[] = {
[0] = { [0] = {
.name = "TMU1",
.start = 0xffd80014, .start = 0xffd80014,
.end = 0xffd8001f, .end = 0xffd8001f,
.flags = IORESOURCE_MEM, .flags = IORESOURCE_MEM,
...@@ -93,7 +89,6 @@ static struct platform_device tmu1_device = { ...@@ -93,7 +89,6 @@ static struct platform_device tmu1_device = {
}; };
static struct sh_timer_config tmu2_platform_data = { static struct sh_timer_config tmu2_platform_data = {
.name = "TMU2",
.channel_offset = 0x1c, .channel_offset = 0x1c,
.timer_bit = 2, .timer_bit = 2,
.clk = "peripheral_clk", .clk = "peripheral_clk",
...@@ -101,7 +96,6 @@ static struct sh_timer_config tmu2_platform_data = { ...@@ -101,7 +96,6 @@ static struct sh_timer_config tmu2_platform_data = {
static struct resource tmu2_resources[] = { static struct resource tmu2_resources[] = {
[0] = { [0] = {
.name = "TMU2",
.start = 0xffd80020, .start = 0xffd80020,
.end = 0xffd8002f, .end = 0xffd8002f,
.flags = IORESOURCE_MEM, .flags = IORESOURCE_MEM,
......
...@@ -66,7 +66,6 @@ static struct platform_device scif1_device = { ...@@ -66,7 +66,6 @@ static struct platform_device scif1_device = {
}; };
static struct sh_timer_config tmu0_platform_data = { static struct sh_timer_config tmu0_platform_data = {
.name = "TMU0",
.channel_offset = 0x04, .channel_offset = 0x04,
.timer_bit = 0, .timer_bit = 0,
.clk = "peripheral_clk", .clk = "peripheral_clk",
...@@ -75,7 +74,6 @@ static struct sh_timer_config tmu0_platform_data = { ...@@ -75,7 +74,6 @@ static struct sh_timer_config tmu0_platform_data = {
static struct resource tmu0_resources[] = { static struct resource tmu0_resources[] = {
[0] = { [0] = {
.name = "TMU0",
.start = 0xffd80008, .start = 0xffd80008,
.end = 0xffd80013, .end = 0xffd80013,
.flags = IORESOURCE_MEM, .flags = IORESOURCE_MEM,
...@@ -97,7 +95,6 @@ static struct platform_device tmu0_device = { ...@@ -97,7 +95,6 @@ static struct platform_device tmu0_device = {
}; };
static struct sh_timer_config tmu1_platform_data = { static struct sh_timer_config tmu1_platform_data = {
.name = "TMU1",
.channel_offset = 0x10, .channel_offset = 0x10,
.timer_bit = 1, .timer_bit = 1,
.clk = "peripheral_clk", .clk = "peripheral_clk",
...@@ -106,7 +103,6 @@ static struct sh_timer_config tmu1_platform_data = { ...@@ -106,7 +103,6 @@ static struct sh_timer_config tmu1_platform_data = {
static struct resource tmu1_resources[] = { static struct resource tmu1_resources[] = {
[0] = { [0] = {
.name = "TMU1",
.start = 0xffd80014, .start = 0xffd80014,
.end = 0xffd8001f, .end = 0xffd8001f,
.flags = IORESOURCE_MEM, .flags = IORESOURCE_MEM,
...@@ -128,7 +124,6 @@ static struct platform_device tmu1_device = { ...@@ -128,7 +124,6 @@ static struct platform_device tmu1_device = {
}; };
static struct sh_timer_config tmu2_platform_data = { static struct sh_timer_config tmu2_platform_data = {
.name = "TMU2",
.channel_offset = 0x1c, .channel_offset = 0x1c,
.timer_bit = 2, .timer_bit = 2,
.clk = "peripheral_clk", .clk = "peripheral_clk",
...@@ -136,7 +131,6 @@ static struct sh_timer_config tmu2_platform_data = { ...@@ -136,7 +131,6 @@ static struct sh_timer_config tmu2_platform_data = {
static struct resource tmu2_resources[] = { static struct resource tmu2_resources[] = {
[0] = { [0] = {
.name = "TMU2",
.start = 0xffd80020, .start = 0xffd80020,
.end = 0xffd8002f, .end = 0xffd8002f,
.flags = IORESOURCE_MEM, .flags = IORESOURCE_MEM,
...@@ -163,7 +157,6 @@ static struct platform_device tmu2_device = { ...@@ -163,7 +157,6 @@ static struct platform_device tmu2_device = {
defined(CONFIG_CPU_SUBTYPE_SH7751R) defined(CONFIG_CPU_SUBTYPE_SH7751R)
static struct sh_timer_config tmu3_platform_data = { static struct sh_timer_config tmu3_platform_data = {
.name = "TMU3",
.channel_offset = 0x04, .channel_offset = 0x04,
.timer_bit = 0, .timer_bit = 0,
.clk = "peripheral_clk", .clk = "peripheral_clk",
...@@ -171,7 +164,6 @@ static struct sh_timer_config tmu3_platform_data = { ...@@ -171,7 +164,6 @@ static struct sh_timer_config tmu3_platform_data = {
static struct resource tmu3_resources[] = { static struct resource tmu3_resources[] = {
[0] = { [0] = {
.name = "TMU3",
.start = 0xfe100008, .start = 0xfe100008,
.end = 0xfe100013, .end = 0xfe100013,
.flags = IORESOURCE_MEM, .flags = IORESOURCE_MEM,
...@@ -193,7 +185,6 @@ static struct platform_device tmu3_device = { ...@@ -193,7 +185,6 @@ static struct platform_device tmu3_device = {
}; };
static struct sh_timer_config tmu4_platform_data = { static struct sh_timer_config tmu4_platform_data = {
.name = "TMU4",
.channel_offset = 0x10, .channel_offset = 0x10,
.timer_bit = 1, .timer_bit = 1,
.clk = "peripheral_clk", .clk = "peripheral_clk",
...@@ -201,7 +192,6 @@ static struct sh_timer_config tmu4_platform_data = { ...@@ -201,7 +192,6 @@ static struct sh_timer_config tmu4_platform_data = {
static struct resource tmu4_resources[] = { static struct resource tmu4_resources[] = {
[0] = { [0] = {
.name = "TMU4",
.start = 0xfe100014, .start = 0xfe100014,
.end = 0xfe10001f, .end = 0xfe10001f,
.flags = IORESOURCE_MEM, .flags = IORESOURCE_MEM,
......
...@@ -187,7 +187,6 @@ static struct platform_device scif3_device = { ...@@ -187,7 +187,6 @@ static struct platform_device scif3_device = {
}; };
static struct sh_timer_config tmu0_platform_data = { static struct sh_timer_config tmu0_platform_data = {
.name = "TMU0",
.channel_offset = 0x04, .channel_offset = 0x04,
.timer_bit = 0, .timer_bit = 0,
.clk = "peripheral_clk", .clk = "peripheral_clk",
...@@ -196,7 +195,6 @@ static struct sh_timer_config tmu0_platform_data = { ...@@ -196,7 +195,6 @@ static struct sh_timer_config tmu0_platform_data = {
static struct resource tmu0_resources[] = { static struct resource tmu0_resources[] = {
[0] = { [0] = {
.name = "TMU0",
.start = 0xffd80008, .start = 0xffd80008,
.end = 0xffd80013, .end = 0xffd80013,
.flags = IORESOURCE_MEM, .flags = IORESOURCE_MEM,
...@@ -218,7 +216,6 @@ static struct platform_device tmu0_device = { ...@@ -218,7 +216,6 @@ static struct platform_device tmu0_device = {
}; };
static struct sh_timer_config tmu1_platform_data = { static struct sh_timer_config tmu1_platform_data = {
.name = "TMU1",
.channel_offset = 0x10, .channel_offset = 0x10,
.timer_bit = 1, .timer_bit = 1,
.clk = "peripheral_clk", .clk = "peripheral_clk",
...@@ -227,7 +224,6 @@ static struct sh_timer_config tmu1_platform_data = { ...@@ -227,7 +224,6 @@ static struct sh_timer_config tmu1_platform_data = {
static struct resource tmu1_resources[] = { static struct resource tmu1_resources[] = {
[0] = { [0] = {
.name = "TMU1",
.start = 0xffd80014, .start = 0xffd80014,
.end = 0xffd8001f, .end = 0xffd8001f,
.flags = IORESOURCE_MEM, .flags = IORESOURCE_MEM,
...@@ -249,7 +245,6 @@ static struct platform_device tmu1_device = { ...@@ -249,7 +245,6 @@ static struct platform_device tmu1_device = {
}; };
static struct sh_timer_config tmu2_platform_data = { static struct sh_timer_config tmu2_platform_data = {
.name = "TMU2",
.channel_offset = 0x1c, .channel_offset = 0x1c,
.timer_bit = 2, .timer_bit = 2,
.clk = "peripheral_clk", .clk = "peripheral_clk",
...@@ -257,7 +252,6 @@ static struct sh_timer_config tmu2_platform_data = { ...@@ -257,7 +252,6 @@ static struct sh_timer_config tmu2_platform_data = {
static struct resource tmu2_resources[] = { static struct resource tmu2_resources[] = {
[0] = { [0] = {
.name = "TMU2",
.start = 0xffd80020, .start = 0xffd80020,
.end = 0xffd8002f, .end = 0xffd8002f,
.flags = IORESOURCE_MEM, .flags = IORESOURCE_MEM,
......
...@@ -207,7 +207,6 @@ static struct platform_device jpu_device = { ...@@ -207,7 +207,6 @@ static struct platform_device jpu_device = {
}; };
static struct sh_timer_config cmt_platform_data = { static struct sh_timer_config cmt_platform_data = {
.name = "CMT",
.channel_offset = 0x60, .channel_offset = 0x60,
.timer_bit = 5, .timer_bit = 5,
.clk = "cmt0", .clk = "cmt0",
...@@ -217,7 +216,6 @@ static struct sh_timer_config cmt_platform_data = { ...@@ -217,7 +216,6 @@ static struct sh_timer_config cmt_platform_data = {
static struct resource cmt_resources[] = { static struct resource cmt_resources[] = {
[0] = { [0] = {
.name = "CMT",
.start = 0x044a0060, .start = 0x044a0060,
.end = 0x044a006b, .end = 0x044a006b,
.flags = IORESOURCE_MEM, .flags = IORESOURCE_MEM,
...@@ -239,7 +237,6 @@ static struct platform_device cmt_device = { ...@@ -239,7 +237,6 @@ static struct platform_device cmt_device = {
}; };
static struct sh_timer_config tmu0_platform_data = { static struct sh_timer_config tmu0_platform_data = {
.name = "TMU0",
.channel_offset = 0x04, .channel_offset = 0x04,
.timer_bit = 0, .timer_bit = 0,
.clk = "tmu0", .clk = "tmu0",
...@@ -248,7 +245,6 @@ static struct sh_timer_config tmu0_platform_data = { ...@@ -248,7 +245,6 @@ static struct sh_timer_config tmu0_platform_data = {
static struct resource tmu0_resources[] = { static struct resource tmu0_resources[] = {
[0] = { [0] = {
.name = "TMU0",
.start = 0xffd80008, .start = 0xffd80008,
.end = 0xffd80013, .end = 0xffd80013,
.flags = IORESOURCE_MEM, .flags = IORESOURCE_MEM,
...@@ -270,7 +266,6 @@ static struct platform_device tmu0_device = { ...@@ -270,7 +266,6 @@ static struct platform_device tmu0_device = {
}; };
static struct sh_timer_config tmu1_platform_data = { static struct sh_timer_config tmu1_platform_data = {
.name = "TMU1",
.channel_offset = 0x10, .channel_offset = 0x10,
.timer_bit = 1, .timer_bit = 1,
.clk = "tmu0", .clk = "tmu0",
...@@ -279,7 +274,6 @@ static struct sh_timer_config tmu1_platform_data = { ...@@ -279,7 +274,6 @@ static struct sh_timer_config tmu1_platform_data = {
static struct resource tmu1_resources[] = { static struct resource tmu1_resources[] = {
[0] = { [0] = {
.name = "TMU1",
.start = 0xffd80014, .start = 0xffd80014,
.end = 0xffd8001f, .end = 0xffd8001f,
.flags = IORESOURCE_MEM, .flags = IORESOURCE_MEM,
...@@ -301,7 +295,6 @@ static struct platform_device tmu1_device = { ...@@ -301,7 +295,6 @@ static struct platform_device tmu1_device = {
}; };
static struct sh_timer_config tmu2_platform_data = { static struct sh_timer_config tmu2_platform_data = {
.name = "TMU2",
.channel_offset = 0x1c, .channel_offset = 0x1c,
.timer_bit = 2, .timer_bit = 2,
.clk = "tmu0", .clk = "tmu0",
...@@ -309,7 +302,6 @@ static struct sh_timer_config tmu2_platform_data = { ...@@ -309,7 +302,6 @@ static struct sh_timer_config tmu2_platform_data = {
static struct resource tmu2_resources[] = { static struct resource tmu2_resources[] = {
[0] = { [0] = {
.name = "TMU2",
.start = 0xffd80020, .start = 0xffd80020,
.end = 0xffd8002b, .end = 0xffd8002b,
.flags = IORESOURCE_MEM, .flags = IORESOURCE_MEM,
......
...@@ -169,7 +169,6 @@ static struct platform_device veu1_device = { ...@@ -169,7 +169,6 @@ static struct platform_device veu1_device = {
}; };
static struct sh_timer_config cmt_platform_data = { static struct sh_timer_config cmt_platform_data = {
.name = "CMT",
.channel_offset = 0x60, .channel_offset = 0x60,
.timer_bit = 5, .timer_bit = 5,
.clk = "cmt0", .clk = "cmt0",
...@@ -179,7 +178,6 @@ static struct sh_timer_config cmt_platform_data = { ...@@ -179,7 +178,6 @@ static struct sh_timer_config cmt_platform_data = {
static struct resource cmt_resources[] = { static struct resource cmt_resources[] = {
[0] = { [0] = {
.name = "CMT",
.start = 0x044a0060, .start = 0x044a0060,
.end = 0x044a006b, .end = 0x044a006b,
.flags = IORESOURCE_MEM, .flags = IORESOURCE_MEM,
...@@ -201,7 +199,6 @@ static struct platform_device cmt_device = { ...@@ -201,7 +199,6 @@ static struct platform_device cmt_device = {
}; };
static struct sh_timer_config tmu0_platform_data = { static struct sh_timer_config tmu0_platform_data = {
.name = "TMU0",
.channel_offset = 0x04, .channel_offset = 0x04,
.timer_bit = 0, .timer_bit = 0,
.clk = "tmu0", .clk = "tmu0",
...@@ -210,7 +207,6 @@ static struct sh_timer_config tmu0_platform_data = { ...@@ -210,7 +207,6 @@ static struct sh_timer_config tmu0_platform_data = {
static struct resource tmu0_resources[] = { static struct resource tmu0_resources[] = {
[0] = { [0] = {
.name = "TMU0",
.start = 0xffd80008, .start = 0xffd80008,
.end = 0xffd80013, .end = 0xffd80013,
.flags = IORESOURCE_MEM, .flags = IORESOURCE_MEM,
...@@ -232,7 +228,6 @@ static struct platform_device tmu0_device = { ...@@ -232,7 +228,6 @@ static struct platform_device tmu0_device = {
}; };
static struct sh_timer_config tmu1_platform_data = { static struct sh_timer_config tmu1_platform_data = {
.name = "TMU1",
.channel_offset = 0x10, .channel_offset = 0x10,
.timer_bit = 1, .timer_bit = 1,
.clk = "tmu0", .clk = "tmu0",
...@@ -241,7 +236,6 @@ static struct sh_timer_config tmu1_platform_data = { ...@@ -241,7 +236,6 @@ static struct sh_timer_config tmu1_platform_data = {
static struct resource tmu1_resources[] = { static struct resource tmu1_resources[] = {
[0] = { [0] = {
.name = "TMU1",
.start = 0xffd80014, .start = 0xffd80014,
.end = 0xffd8001f, .end = 0xffd8001f,
.flags = IORESOURCE_MEM, .flags = IORESOURCE_MEM,
...@@ -263,7 +257,6 @@ static struct platform_device tmu1_device = { ...@@ -263,7 +257,6 @@ static struct platform_device tmu1_device = {
}; };
static struct sh_timer_config tmu2_platform_data = { static struct sh_timer_config tmu2_platform_data = {
.name = "TMU2",
.channel_offset = 0x1c, .channel_offset = 0x1c,
.timer_bit = 2, .timer_bit = 2,
.clk = "tmu0", .clk = "tmu0",
...@@ -271,7 +264,6 @@ static struct sh_timer_config tmu2_platform_data = { ...@@ -271,7 +264,6 @@ static struct sh_timer_config tmu2_platform_data = {
static struct resource tmu2_resources[] = { static struct resource tmu2_resources[] = {
[0] = { [0] = {
.name = "TMU2",
.start = 0xffd80020, .start = 0xffd80020,
.end = 0xffd8002b, .end = 0xffd8002b,
.flags = IORESOURCE_MEM, .flags = IORESOURCE_MEM,
......
...@@ -401,7 +401,6 @@ static struct platform_device jpu_device = { ...@@ -401,7 +401,6 @@ static struct platform_device jpu_device = {
}; };
static struct sh_timer_config cmt_platform_data = { static struct sh_timer_config cmt_platform_data = {
.name = "CMT",
.channel_offset = 0x60, .channel_offset = 0x60,
.timer_bit = 5, .timer_bit = 5,
.clk = "cmt0", .clk = "cmt0",
...@@ -411,7 +410,6 @@ static struct sh_timer_config cmt_platform_data = { ...@@ -411,7 +410,6 @@ static struct sh_timer_config cmt_platform_data = {
static struct resource cmt_resources[] = { static struct resource cmt_resources[] = {
[0] = { [0] = {
.name = "CMT",
.start = 0x044a0060, .start = 0x044a0060,
.end = 0x044a006b, .end = 0x044a006b,
.flags = IORESOURCE_MEM, .flags = IORESOURCE_MEM,
...@@ -436,7 +434,6 @@ static struct platform_device cmt_device = { ...@@ -436,7 +434,6 @@ static struct platform_device cmt_device = {
}; };
static struct sh_timer_config tmu0_platform_data = { static struct sh_timer_config tmu0_platform_data = {
.name = "TMU0",
.channel_offset = 0x04, .channel_offset = 0x04,
.timer_bit = 0, .timer_bit = 0,
.clk = "tmu0", .clk = "tmu0",
...@@ -445,7 +442,6 @@ static struct sh_timer_config tmu0_platform_data = { ...@@ -445,7 +442,6 @@ static struct sh_timer_config tmu0_platform_data = {
static struct resource tmu0_resources[] = { static struct resource tmu0_resources[] = {
[0] = { [0] = {
.name = "TMU0",
.start = 0xffd80008, .start = 0xffd80008,
.end = 0xffd80013, .end = 0xffd80013,
.flags = IORESOURCE_MEM, .flags = IORESOURCE_MEM,
...@@ -470,7 +466,6 @@ static struct platform_device tmu0_device = { ...@@ -470,7 +466,6 @@ static struct platform_device tmu0_device = {
}; };
static struct sh_timer_config tmu1_platform_data = { static struct sh_timer_config tmu1_platform_data = {
.name = "TMU1",
.channel_offset = 0x10, .channel_offset = 0x10,
.timer_bit = 1, .timer_bit = 1,
.clk = "tmu0", .clk = "tmu0",
...@@ -479,7 +474,6 @@ static struct sh_timer_config tmu1_platform_data = { ...@@ -479,7 +474,6 @@ static struct sh_timer_config tmu1_platform_data = {
static struct resource tmu1_resources[] = { static struct resource tmu1_resources[] = {
[0] = { [0] = {
.name = "TMU1",
.start = 0xffd80014, .start = 0xffd80014,
.end = 0xffd8001f, .end = 0xffd8001f,
.flags = IORESOURCE_MEM, .flags = IORESOURCE_MEM,
...@@ -504,7 +498,6 @@ static struct platform_device tmu1_device = { ...@@ -504,7 +498,6 @@ static struct platform_device tmu1_device = {
}; };
static struct sh_timer_config tmu2_platform_data = { static struct sh_timer_config tmu2_platform_data = {
.name = "TMU2",
.channel_offset = 0x1c, .channel_offset = 0x1c,
.timer_bit = 2, .timer_bit = 2,
.clk = "tmu0", .clk = "tmu0",
...@@ -512,7 +505,6 @@ static struct sh_timer_config tmu2_platform_data = { ...@@ -512,7 +505,6 @@ static struct sh_timer_config tmu2_platform_data = {
static struct resource tmu2_resources[] = { static struct resource tmu2_resources[] = {
[0] = { [0] = {
.name = "TMU2",
.start = 0xffd80020, .start = 0xffd80020,
.end = 0xffd8002b, .end = 0xffd8002b,
.flags = IORESOURCE_MEM, .flags = IORESOURCE_MEM,
......
...@@ -211,7 +211,6 @@ static struct platform_device veu1_device = { ...@@ -211,7 +211,6 @@ static struct platform_device veu1_device = {
}; };
static struct sh_timer_config cmt_platform_data = { static struct sh_timer_config cmt_platform_data = {
.name = "CMT",
.channel_offset = 0x60, .channel_offset = 0x60,
.timer_bit = 5, .timer_bit = 5,
.clk = "cmt0", .clk = "cmt0",
...@@ -221,7 +220,6 @@ static struct sh_timer_config cmt_platform_data = { ...@@ -221,7 +220,6 @@ static struct sh_timer_config cmt_platform_data = {
static struct resource cmt_resources[] = { static struct resource cmt_resources[] = {
[0] = { [0] = {
.name = "CMT",
.start = 0x044a0060, .start = 0x044a0060,
.end = 0x044a006b, .end = 0x044a006b,
.flags = IORESOURCE_MEM, .flags = IORESOURCE_MEM,
...@@ -246,7 +244,6 @@ static struct platform_device cmt_device = { ...@@ -246,7 +244,6 @@ static struct platform_device cmt_device = {
}; };
static struct sh_timer_config tmu0_platform_data = { static struct sh_timer_config tmu0_platform_data = {
.name = "TMU0",
.channel_offset = 0x04, .channel_offset = 0x04,
.timer_bit = 0, .timer_bit = 0,
.clk = "tmu0", .clk = "tmu0",
...@@ -255,7 +252,6 @@ static struct sh_timer_config tmu0_platform_data = { ...@@ -255,7 +252,6 @@ static struct sh_timer_config tmu0_platform_data = {
static struct resource tmu0_resources[] = { static struct resource tmu0_resources[] = {
[0] = { [0] = {
.name = "TMU0",
.start = 0xffd80008, .start = 0xffd80008,
.end = 0xffd80013, .end = 0xffd80013,
.flags = IORESOURCE_MEM, .flags = IORESOURCE_MEM,
...@@ -280,7 +276,6 @@ static struct platform_device tmu0_device = { ...@@ -280,7 +276,6 @@ static struct platform_device tmu0_device = {
}; };
static struct sh_timer_config tmu1_platform_data = { static struct sh_timer_config tmu1_platform_data = {
.name = "TMU1",
.channel_offset = 0x10, .channel_offset = 0x10,
.timer_bit = 1, .timer_bit = 1,
.clk = "tmu0", .clk = "tmu0",
...@@ -289,7 +284,6 @@ static struct sh_timer_config tmu1_platform_data = { ...@@ -289,7 +284,6 @@ static struct sh_timer_config tmu1_platform_data = {
static struct resource tmu1_resources[] = { static struct resource tmu1_resources[] = {
[0] = { [0] = {
.name = "TMU1",
.start = 0xffd80014, .start = 0xffd80014,
.end = 0xffd8001f, .end = 0xffd8001f,
.flags = IORESOURCE_MEM, .flags = IORESOURCE_MEM,
...@@ -314,7 +308,6 @@ static struct platform_device tmu1_device = { ...@@ -314,7 +308,6 @@ static struct platform_device tmu1_device = {
}; };
static struct sh_timer_config tmu2_platform_data = { static struct sh_timer_config tmu2_platform_data = {
.name = "TMU2",
.channel_offset = 0x1c, .channel_offset = 0x1c,
.timer_bit = 2, .timer_bit = 2,
.clk = "tmu0", .clk = "tmu0",
...@@ -322,7 +315,6 @@ static struct sh_timer_config tmu2_platform_data = { ...@@ -322,7 +315,6 @@ static struct sh_timer_config tmu2_platform_data = {
static struct resource tmu2_resources[] = { static struct resource tmu2_resources[] = {
[0] = { [0] = {
.name = "TMU2",
.start = 0xffd80020, .start = 0xffd80020,
.end = 0xffd8002b, .end = 0xffd8002b,
.flags = IORESOURCE_MEM, .flags = IORESOURCE_MEM,
...@@ -347,7 +339,6 @@ static struct platform_device tmu2_device = { ...@@ -347,7 +339,6 @@ static struct platform_device tmu2_device = {
}; };
static struct sh_timer_config tmu3_platform_data = { static struct sh_timer_config tmu3_platform_data = {
.name = "TMU3",
.channel_offset = 0x04, .channel_offset = 0x04,
.timer_bit = 0, .timer_bit = 0,
.clk = "tmu1", .clk = "tmu1",
...@@ -355,7 +346,6 @@ static struct sh_timer_config tmu3_platform_data = { ...@@ -355,7 +346,6 @@ static struct sh_timer_config tmu3_platform_data = {
static struct resource tmu3_resources[] = { static struct resource tmu3_resources[] = {
[0] = { [0] = {
.name = "TMU3",
.start = 0xffd90008, .start = 0xffd90008,
.end = 0xffd90013, .end = 0xffd90013,
.flags = IORESOURCE_MEM, .flags = IORESOURCE_MEM,
...@@ -380,7 +370,6 @@ static struct platform_device tmu3_device = { ...@@ -380,7 +370,6 @@ static struct platform_device tmu3_device = {
}; };
static struct sh_timer_config tmu4_platform_data = { static struct sh_timer_config tmu4_platform_data = {
.name = "TMU4",
.channel_offset = 0x10, .channel_offset = 0x10,
.timer_bit = 1, .timer_bit = 1,
.clk = "tmu1", .clk = "tmu1",
...@@ -388,7 +377,6 @@ static struct sh_timer_config tmu4_platform_data = { ...@@ -388,7 +377,6 @@ static struct sh_timer_config tmu4_platform_data = {
static struct resource tmu4_resources[] = { static struct resource tmu4_resources[] = {
[0] = { [0] = {
.name = "TMU4",
.start = 0xffd90014, .start = 0xffd90014,
.end = 0xffd9001f, .end = 0xffd9001f,
.flags = IORESOURCE_MEM, .flags = IORESOURCE_MEM,
...@@ -413,7 +401,6 @@ static struct platform_device tmu4_device = { ...@@ -413,7 +401,6 @@ static struct platform_device tmu4_device = {
}; };
static struct sh_timer_config tmu5_platform_data = { static struct sh_timer_config tmu5_platform_data = {
.name = "TMU5",
.channel_offset = 0x1c, .channel_offset = 0x1c,
.timer_bit = 2, .timer_bit = 2,
.clk = "tmu1", .clk = "tmu1",
...@@ -421,7 +408,6 @@ static struct sh_timer_config tmu5_platform_data = { ...@@ -421,7 +408,6 @@ static struct sh_timer_config tmu5_platform_data = {
static struct resource tmu5_resources[] = { static struct resource tmu5_resources[] = {
[0] = { [0] = {
.name = "TMU5",
.start = 0xffd90020, .start = 0xffd90020,
.end = 0xffd9002b, .end = 0xffd9002b,
.flags = IORESOURCE_MEM, .flags = IORESOURCE_MEM,
......
...@@ -485,7 +485,6 @@ static struct platform_device veu1_device = { ...@@ -485,7 +485,6 @@ static struct platform_device veu1_device = {
}; };
static struct sh_timer_config cmt_platform_data = { static struct sh_timer_config cmt_platform_data = {
.name = "CMT",
.channel_offset = 0x60, .channel_offset = 0x60,
.timer_bit = 5, .timer_bit = 5,
.clk = "cmt0", .clk = "cmt0",
...@@ -495,7 +494,6 @@ static struct sh_timer_config cmt_platform_data = { ...@@ -495,7 +494,6 @@ static struct sh_timer_config cmt_platform_data = {
static struct resource cmt_resources[] = { static struct resource cmt_resources[] = {
[0] = { [0] = {
.name = "CMT",
.start = 0x044a0060, .start = 0x044a0060,
.end = 0x044a006b, .end = 0x044a006b,
.flags = IORESOURCE_MEM, .flags = IORESOURCE_MEM,
...@@ -520,7 +518,6 @@ static struct platform_device cmt_device = { ...@@ -520,7 +518,6 @@ static struct platform_device cmt_device = {
}; };
static struct sh_timer_config tmu0_platform_data = { static struct sh_timer_config tmu0_platform_data = {
.name = "TMU0",
.channel_offset = 0x04, .channel_offset = 0x04,
.timer_bit = 0, .timer_bit = 0,
.clk = "tmu0", .clk = "tmu0",
...@@ -529,7 +526,6 @@ static struct sh_timer_config tmu0_platform_data = { ...@@ -529,7 +526,6 @@ static struct sh_timer_config tmu0_platform_data = {
static struct resource tmu0_resources[] = { static struct resource tmu0_resources[] = {
[0] = { [0] = {
.name = "TMU0",
.start = 0xffd80008, .start = 0xffd80008,
.end = 0xffd80013, .end = 0xffd80013,
.flags = IORESOURCE_MEM, .flags = IORESOURCE_MEM,
...@@ -554,7 +550,6 @@ static struct platform_device tmu0_device = { ...@@ -554,7 +550,6 @@ static struct platform_device tmu0_device = {
}; };
static struct sh_timer_config tmu1_platform_data = { static struct sh_timer_config tmu1_platform_data = {
.name = "TMU1",
.channel_offset = 0x10, .channel_offset = 0x10,
.timer_bit = 1, .timer_bit = 1,
.clk = "tmu0", .clk = "tmu0",
...@@ -563,7 +558,6 @@ static struct sh_timer_config tmu1_platform_data = { ...@@ -563,7 +558,6 @@ static struct sh_timer_config tmu1_platform_data = {
static struct resource tmu1_resources[] = { static struct resource tmu1_resources[] = {
[0] = { [0] = {
.name = "TMU1",
.start = 0xffd80014, .start = 0xffd80014,
.end = 0xffd8001f, .end = 0xffd8001f,
.flags = IORESOURCE_MEM, .flags = IORESOURCE_MEM,
...@@ -588,7 +582,6 @@ static struct platform_device tmu1_device = { ...@@ -588,7 +582,6 @@ static struct platform_device tmu1_device = {
}; };
static struct sh_timer_config tmu2_platform_data = { static struct sh_timer_config tmu2_platform_data = {
.name = "TMU2",
.channel_offset = 0x1c, .channel_offset = 0x1c,
.timer_bit = 2, .timer_bit = 2,
.clk = "tmu0", .clk = "tmu0",
...@@ -596,7 +589,6 @@ static struct sh_timer_config tmu2_platform_data = { ...@@ -596,7 +589,6 @@ static struct sh_timer_config tmu2_platform_data = {
static struct resource tmu2_resources[] = { static struct resource tmu2_resources[] = {
[0] = { [0] = {
.name = "TMU2",
.start = 0xffd80020, .start = 0xffd80020,
.end = 0xffd8002b, .end = 0xffd8002b,
.flags = IORESOURCE_MEM, .flags = IORESOURCE_MEM,
...@@ -622,7 +614,6 @@ static struct platform_device tmu2_device = { ...@@ -622,7 +614,6 @@ static struct platform_device tmu2_device = {
static struct sh_timer_config tmu3_platform_data = { static struct sh_timer_config tmu3_platform_data = {
.name = "TMU3",
.channel_offset = 0x04, .channel_offset = 0x04,
.timer_bit = 0, .timer_bit = 0,
.clk = "tmu1", .clk = "tmu1",
...@@ -630,7 +621,6 @@ static struct sh_timer_config tmu3_platform_data = { ...@@ -630,7 +621,6 @@ static struct sh_timer_config tmu3_platform_data = {
static struct resource tmu3_resources[] = { static struct resource tmu3_resources[] = {
[0] = { [0] = {
.name = "TMU3",
.start = 0xffd90008, .start = 0xffd90008,
.end = 0xffd90013, .end = 0xffd90013,
.flags = IORESOURCE_MEM, .flags = IORESOURCE_MEM,
...@@ -655,7 +645,6 @@ static struct platform_device tmu3_device = { ...@@ -655,7 +645,6 @@ static struct platform_device tmu3_device = {
}; };
static struct sh_timer_config tmu4_platform_data = { static struct sh_timer_config tmu4_platform_data = {
.name = "TMU4",
.channel_offset = 0x10, .channel_offset = 0x10,
.timer_bit = 1, .timer_bit = 1,
.clk = "tmu1", .clk = "tmu1",
...@@ -663,7 +652,6 @@ static struct sh_timer_config tmu4_platform_data = { ...@@ -663,7 +652,6 @@ static struct sh_timer_config tmu4_platform_data = {
static struct resource tmu4_resources[] = { static struct resource tmu4_resources[] = {
[0] = { [0] = {
.name = "TMU4",
.start = 0xffd90014, .start = 0xffd90014,
.end = 0xffd9001f, .end = 0xffd9001f,
.flags = IORESOURCE_MEM, .flags = IORESOURCE_MEM,
...@@ -688,7 +676,6 @@ static struct platform_device tmu4_device = { ...@@ -688,7 +676,6 @@ static struct platform_device tmu4_device = {
}; };
static struct sh_timer_config tmu5_platform_data = { static struct sh_timer_config tmu5_platform_data = {
.name = "TMU5",
.channel_offset = 0x1c, .channel_offset = 0x1c,
.timer_bit = 2, .timer_bit = 2,
.clk = "tmu1", .clk = "tmu1",
...@@ -696,7 +683,6 @@ static struct sh_timer_config tmu5_platform_data = { ...@@ -696,7 +683,6 @@ static struct sh_timer_config tmu5_platform_data = {
static struct resource tmu5_resources[] = { static struct resource tmu5_resources[] = {
[0] = { [0] = {
.name = "TMU5",
.start = 0xffd90020, .start = 0xffd90020,
.end = 0xffd9002b, .end = 0xffd9002b,
.flags = IORESOURCE_MEM, .flags = IORESOURCE_MEM,
......
...@@ -63,7 +63,6 @@ static struct platform_device scif4_device = { ...@@ -63,7 +63,6 @@ static struct platform_device scif4_device = {
}; };
static struct sh_timer_config tmu0_platform_data = { static struct sh_timer_config tmu0_platform_data = {
.name = "TMU0",
.channel_offset = 0x04, .channel_offset = 0x04,
.timer_bit = 0, .timer_bit = 0,
.clk = "peripheral_clk", .clk = "peripheral_clk",
...@@ -72,7 +71,6 @@ static struct sh_timer_config tmu0_platform_data = { ...@@ -72,7 +71,6 @@ static struct sh_timer_config tmu0_platform_data = {
static struct resource tmu0_resources[] = { static struct resource tmu0_resources[] = {
[0] = { [0] = {
.name = "TMU0",
.start = 0xfe430008, .start = 0xfe430008,
.end = 0xfe430013, .end = 0xfe430013,
.flags = IORESOURCE_MEM, .flags = IORESOURCE_MEM,
...@@ -94,7 +92,6 @@ static struct platform_device tmu0_device = { ...@@ -94,7 +92,6 @@ static struct platform_device tmu0_device = {
}; };
static struct sh_timer_config tmu1_platform_data = { static struct sh_timer_config tmu1_platform_data = {
.name = "TMU1",
.channel_offset = 0x10, .channel_offset = 0x10,
.timer_bit = 1, .timer_bit = 1,
.clk = "peripheral_clk", .clk = "peripheral_clk",
...@@ -103,7 +100,6 @@ static struct sh_timer_config tmu1_platform_data = { ...@@ -103,7 +100,6 @@ static struct sh_timer_config tmu1_platform_data = {
static struct resource tmu1_resources[] = { static struct resource tmu1_resources[] = {
[0] = { [0] = {
.name = "TMU1",
.start = 0xfe430014, .start = 0xfe430014,
.end = 0xfe43001f, .end = 0xfe43001f,
.flags = IORESOURCE_MEM, .flags = IORESOURCE_MEM,
......
...@@ -131,7 +131,6 @@ static struct platform_device usbf_device = { ...@@ -131,7 +131,6 @@ static struct platform_device usbf_device = {
}; };
static struct sh_timer_config tmu0_platform_data = { static struct sh_timer_config tmu0_platform_data = {
.name = "TMU0",
.channel_offset = 0x04, .channel_offset = 0x04,
.timer_bit = 0, .timer_bit = 0,
.clk = "peripheral_clk", .clk = "peripheral_clk",
...@@ -140,7 +139,6 @@ static struct sh_timer_config tmu0_platform_data = { ...@@ -140,7 +139,6 @@ static struct sh_timer_config tmu0_platform_data = {
static struct resource tmu0_resources[] = { static struct resource tmu0_resources[] = {
[0] = { [0] = {
.name = "TMU0",
.start = 0xffd80008, .start = 0xffd80008,
.end = 0xffd80013, .end = 0xffd80013,
.flags = IORESOURCE_MEM, .flags = IORESOURCE_MEM,
...@@ -162,7 +160,6 @@ static struct platform_device tmu0_device = { ...@@ -162,7 +160,6 @@ static struct platform_device tmu0_device = {
}; };
static struct sh_timer_config tmu1_platform_data = { static struct sh_timer_config tmu1_platform_data = {
.name = "TMU1",
.channel_offset = 0x10, .channel_offset = 0x10,
.timer_bit = 1, .timer_bit = 1,
.clk = "peripheral_clk", .clk = "peripheral_clk",
...@@ -171,7 +168,6 @@ static struct sh_timer_config tmu1_platform_data = { ...@@ -171,7 +168,6 @@ static struct sh_timer_config tmu1_platform_data = {
static struct resource tmu1_resources[] = { static struct resource tmu1_resources[] = {
[0] = { [0] = {
.name = "TMU1",
.start = 0xffd80014, .start = 0xffd80014,
.end = 0xffd8001f, .end = 0xffd8001f,
.flags = IORESOURCE_MEM, .flags = IORESOURCE_MEM,
...@@ -193,7 +189,6 @@ static struct platform_device tmu1_device = { ...@@ -193,7 +189,6 @@ static struct platform_device tmu1_device = {
}; };
static struct sh_timer_config tmu2_platform_data = { static struct sh_timer_config tmu2_platform_data = {
.name = "TMU2",
.channel_offset = 0x1c, .channel_offset = 0x1c,
.timer_bit = 2, .timer_bit = 2,
.clk = "peripheral_clk", .clk = "peripheral_clk",
...@@ -201,7 +196,6 @@ static struct sh_timer_config tmu2_platform_data = { ...@@ -201,7 +196,6 @@ static struct sh_timer_config tmu2_platform_data = {
static struct resource tmu2_resources[] = { static struct resource tmu2_resources[] = {
[0] = { [0] = {
.name = "TMU2",
.start = 0xffd80020, .start = 0xffd80020,
.end = 0xffd8002f, .end = 0xffd8002f,
.flags = IORESOURCE_MEM, .flags = IORESOURCE_MEM,
...@@ -223,7 +217,6 @@ static struct platform_device tmu2_device = { ...@@ -223,7 +217,6 @@ static struct platform_device tmu2_device = {
}; };
static struct sh_timer_config tmu3_platform_data = { static struct sh_timer_config tmu3_platform_data = {
.name = "TMU3",
.channel_offset = 0x04, .channel_offset = 0x04,
.timer_bit = 0, .timer_bit = 0,
.clk = "peripheral_clk", .clk = "peripheral_clk",
...@@ -231,7 +224,6 @@ static struct sh_timer_config tmu3_platform_data = { ...@@ -231,7 +224,6 @@ static struct sh_timer_config tmu3_platform_data = {
static struct resource tmu3_resources[] = { static struct resource tmu3_resources[] = {
[0] = { [0] = {
.name = "TMU3",
.start = 0xffd88008, .start = 0xffd88008,
.end = 0xffd88013, .end = 0xffd88013,
.flags = IORESOURCE_MEM, .flags = IORESOURCE_MEM,
...@@ -253,7 +245,6 @@ static struct platform_device tmu3_device = { ...@@ -253,7 +245,6 @@ static struct platform_device tmu3_device = {
}; };
static struct sh_timer_config tmu4_platform_data = { static struct sh_timer_config tmu4_platform_data = {
.name = "TMU4",
.channel_offset = 0x10, .channel_offset = 0x10,
.timer_bit = 1, .timer_bit = 1,
.clk = "peripheral_clk", .clk = "peripheral_clk",
...@@ -261,7 +252,6 @@ static struct sh_timer_config tmu4_platform_data = { ...@@ -261,7 +252,6 @@ static struct sh_timer_config tmu4_platform_data = {
static struct resource tmu4_resources[] = { static struct resource tmu4_resources[] = {
[0] = { [0] = {
.name = "TMU4",
.start = 0xffd88014, .start = 0xffd88014,
.end = 0xffd8801f, .end = 0xffd8801f,
.flags = IORESOURCE_MEM, .flags = IORESOURCE_MEM,
...@@ -283,7 +273,6 @@ static struct platform_device tmu4_device = { ...@@ -283,7 +273,6 @@ static struct platform_device tmu4_device = {
}; };
static struct sh_timer_config tmu5_platform_data = { static struct sh_timer_config tmu5_platform_data = {
.name = "TMU5",
.channel_offset = 0x1c, .channel_offset = 0x1c,
.timer_bit = 2, .timer_bit = 2,
.clk = "peripheral_clk", .clk = "peripheral_clk",
...@@ -291,7 +280,6 @@ static struct sh_timer_config tmu5_platform_data = { ...@@ -291,7 +280,6 @@ static struct sh_timer_config tmu5_platform_data = {
static struct resource tmu5_resources[] = { static struct resource tmu5_resources[] = {
[0] = { [0] = {
.name = "TMU5",
.start = 0xffd88020, .start = 0xffd88020,
.end = 0xffd8802b, .end = 0xffd8802b,
.flags = IORESOURCE_MEM, .flags = IORESOURCE_MEM,
......
...@@ -165,7 +165,6 @@ static struct platform_device scif9_device = { ...@@ -165,7 +165,6 @@ static struct platform_device scif9_device = {
}; };
static struct sh_timer_config tmu0_platform_data = { static struct sh_timer_config tmu0_platform_data = {
.name = "TMU0",
.channel_offset = 0x04, .channel_offset = 0x04,
.timer_bit = 0, .timer_bit = 0,
.clk = "peripheral_clk", .clk = "peripheral_clk",
...@@ -174,7 +173,6 @@ static struct sh_timer_config tmu0_platform_data = { ...@@ -174,7 +173,6 @@ static struct sh_timer_config tmu0_platform_data = {
static struct resource tmu0_resources[] = { static struct resource tmu0_resources[] = {
[0] = { [0] = {
.name = "TMU0",
.start = 0xffd80008, .start = 0xffd80008,
.end = 0xffd80013, .end = 0xffd80013,
.flags = IORESOURCE_MEM, .flags = IORESOURCE_MEM,
...@@ -196,7 +194,6 @@ static struct platform_device tmu0_device = { ...@@ -196,7 +194,6 @@ static struct platform_device tmu0_device = {
}; };
static struct sh_timer_config tmu1_platform_data = { static struct sh_timer_config tmu1_platform_data = {
.name = "TMU1",
.channel_offset = 0x10, .channel_offset = 0x10,
.timer_bit = 1, .timer_bit = 1,
.clk = "peripheral_clk", .clk = "peripheral_clk",
...@@ -205,7 +202,6 @@ static struct sh_timer_config tmu1_platform_data = { ...@@ -205,7 +202,6 @@ static struct sh_timer_config tmu1_platform_data = {
static struct resource tmu1_resources[] = { static struct resource tmu1_resources[] = {
[0] = { [0] = {
.name = "TMU1",
.start = 0xffd80014, .start = 0xffd80014,
.end = 0xffd8001f, .end = 0xffd8001f,
.flags = IORESOURCE_MEM, .flags = IORESOURCE_MEM,
...@@ -227,7 +223,6 @@ static struct platform_device tmu1_device = { ...@@ -227,7 +223,6 @@ static struct platform_device tmu1_device = {
}; };
static struct sh_timer_config tmu2_platform_data = { static struct sh_timer_config tmu2_platform_data = {
.name = "TMU2",
.channel_offset = 0x1c, .channel_offset = 0x1c,
.timer_bit = 2, .timer_bit = 2,
.clk = "peripheral_clk", .clk = "peripheral_clk",
...@@ -235,7 +230,6 @@ static struct sh_timer_config tmu2_platform_data = { ...@@ -235,7 +230,6 @@ static struct sh_timer_config tmu2_platform_data = {
static struct resource tmu2_resources[] = { static struct resource tmu2_resources[] = {
[0] = { [0] = {
.name = "TMU2",
.start = 0xffd80020, .start = 0xffd80020,
.end = 0xffd8002f, .end = 0xffd8002f,
.flags = IORESOURCE_MEM, .flags = IORESOURCE_MEM,
...@@ -257,7 +251,6 @@ static struct platform_device tmu2_device = { ...@@ -257,7 +251,6 @@ static struct platform_device tmu2_device = {
}; };
static struct sh_timer_config tmu3_platform_data = { static struct sh_timer_config tmu3_platform_data = {
.name = "TMU3",
.channel_offset = 0x04, .channel_offset = 0x04,
.timer_bit = 0, .timer_bit = 0,
.clk = "peripheral_clk", .clk = "peripheral_clk",
...@@ -265,7 +258,6 @@ static struct sh_timer_config tmu3_platform_data = { ...@@ -265,7 +258,6 @@ static struct sh_timer_config tmu3_platform_data = {
static struct resource tmu3_resources[] = { static struct resource tmu3_resources[] = {
[0] = { [0] = {
.name = "TMU3",
.start = 0xffd81008, .start = 0xffd81008,
.end = 0xffd81013, .end = 0xffd81013,
.flags = IORESOURCE_MEM, .flags = IORESOURCE_MEM,
...@@ -287,7 +279,6 @@ static struct platform_device tmu3_device = { ...@@ -287,7 +279,6 @@ static struct platform_device tmu3_device = {
}; };
static struct sh_timer_config tmu4_platform_data = { static struct sh_timer_config tmu4_platform_data = {
.name = "TMU4",
.channel_offset = 0x10, .channel_offset = 0x10,
.timer_bit = 1, .timer_bit = 1,
.clk = "peripheral_clk", .clk = "peripheral_clk",
...@@ -295,7 +286,6 @@ static struct sh_timer_config tmu4_platform_data = { ...@@ -295,7 +286,6 @@ static struct sh_timer_config tmu4_platform_data = {
static struct resource tmu4_resources[] = { static struct resource tmu4_resources[] = {
[0] = { [0] = {
.name = "TMU4",
.start = 0xffd81014, .start = 0xffd81014,
.end = 0xffd8101f, .end = 0xffd8101f,
.flags = IORESOURCE_MEM, .flags = IORESOURCE_MEM,
...@@ -317,7 +307,6 @@ static struct platform_device tmu4_device = { ...@@ -317,7 +307,6 @@ static struct platform_device tmu4_device = {
}; };
static struct sh_timer_config tmu5_platform_data = { static struct sh_timer_config tmu5_platform_data = {
.name = "TMU5",
.channel_offset = 0x1c, .channel_offset = 0x1c,
.timer_bit = 2, .timer_bit = 2,
.clk = "peripheral_clk", .clk = "peripheral_clk",
...@@ -325,7 +314,6 @@ static struct sh_timer_config tmu5_platform_data = { ...@@ -325,7 +314,6 @@ static struct sh_timer_config tmu5_platform_data = {
static struct resource tmu5_resources[] = { static struct resource tmu5_resources[] = {
[0] = { [0] = {
.name = "TMU5",
.start = 0xffd81020, .start = 0xffd81020,
.end = 0xffd8102f, .end = 0xffd8102f,
.flags = IORESOURCE_MEM, .flags = IORESOURCE_MEM,
...@@ -347,7 +335,6 @@ static struct platform_device tmu5_device = { ...@@ -347,7 +335,6 @@ static struct platform_device tmu5_device = {
}; };
static struct sh_timer_config tmu6_platform_data = { static struct sh_timer_config tmu6_platform_data = {
.name = "TMU6",
.channel_offset = 0x04, .channel_offset = 0x04,
.timer_bit = 0, .timer_bit = 0,
.clk = "peripheral_clk", .clk = "peripheral_clk",
...@@ -355,7 +342,6 @@ static struct sh_timer_config tmu6_platform_data = { ...@@ -355,7 +342,6 @@ static struct sh_timer_config tmu6_platform_data = {
static struct resource tmu6_resources[] = { static struct resource tmu6_resources[] = {
[0] = { [0] = {
.name = "TMU6",
.start = 0xffd82008, .start = 0xffd82008,
.end = 0xffd82013, .end = 0xffd82013,
.flags = IORESOURCE_MEM, .flags = IORESOURCE_MEM,
...@@ -377,7 +363,6 @@ static struct platform_device tmu6_device = { ...@@ -377,7 +363,6 @@ static struct platform_device tmu6_device = {
}; };
static struct sh_timer_config tmu7_platform_data = { static struct sh_timer_config tmu7_platform_data = {
.name = "TMU7",
.channel_offset = 0x10, .channel_offset = 0x10,
.timer_bit = 1, .timer_bit = 1,
.clk = "peripheral_clk", .clk = "peripheral_clk",
...@@ -385,7 +370,6 @@ static struct sh_timer_config tmu7_platform_data = { ...@@ -385,7 +370,6 @@ static struct sh_timer_config tmu7_platform_data = {
static struct resource tmu7_resources[] = { static struct resource tmu7_resources[] = {
[0] = { [0] = {
.name = "TMU7",
.start = 0xffd82014, .start = 0xffd82014,
.end = 0xffd8201f, .end = 0xffd8201f,
.flags = IORESOURCE_MEM, .flags = IORESOURCE_MEM,
...@@ -407,7 +391,6 @@ static struct platform_device tmu7_device = { ...@@ -407,7 +391,6 @@ static struct platform_device tmu7_device = {
}; };
static struct sh_timer_config tmu8_platform_data = { static struct sh_timer_config tmu8_platform_data = {
.name = "TMU8",
.channel_offset = 0x1c, .channel_offset = 0x1c,
.timer_bit = 2, .timer_bit = 2,
.clk = "peripheral_clk", .clk = "peripheral_clk",
...@@ -415,7 +398,6 @@ static struct sh_timer_config tmu8_platform_data = { ...@@ -415,7 +398,6 @@ static struct sh_timer_config tmu8_platform_data = {
static struct resource tmu8_resources[] = { static struct resource tmu8_resources[] = {
[0] = { [0] = {
.name = "TMU8",
.start = 0xffd82020, .start = 0xffd82020,
.end = 0xffd8202b, .end = 0xffd8202b,
.flags = IORESOURCE_MEM, .flags = IORESOURCE_MEM,
......
...@@ -49,7 +49,6 @@ static struct platform_device scif1_device = { ...@@ -49,7 +49,6 @@ static struct platform_device scif1_device = {
}; };
static struct sh_timer_config tmu0_platform_data = { static struct sh_timer_config tmu0_platform_data = {
.name = "TMU0",
.channel_offset = 0x04, .channel_offset = 0x04,
.timer_bit = 0, .timer_bit = 0,
.clk = "peripheral_clk", .clk = "peripheral_clk",
...@@ -58,7 +57,6 @@ static struct sh_timer_config tmu0_platform_data = { ...@@ -58,7 +57,6 @@ static struct sh_timer_config tmu0_platform_data = {
static struct resource tmu0_resources[] = { static struct resource tmu0_resources[] = {
[0] = { [0] = {
.name = "TMU0",
.start = 0xffd80008, .start = 0xffd80008,
.end = 0xffd80013, .end = 0xffd80013,
.flags = IORESOURCE_MEM, .flags = IORESOURCE_MEM,
...@@ -80,7 +78,6 @@ static struct platform_device tmu0_device = { ...@@ -80,7 +78,6 @@ static struct platform_device tmu0_device = {
}; };
static struct sh_timer_config tmu1_platform_data = { static struct sh_timer_config tmu1_platform_data = {
.name = "TMU1",
.channel_offset = 0x10, .channel_offset = 0x10,
.timer_bit = 1, .timer_bit = 1,
.clk = "peripheral_clk", .clk = "peripheral_clk",
...@@ -89,7 +86,6 @@ static struct sh_timer_config tmu1_platform_data = { ...@@ -89,7 +86,6 @@ static struct sh_timer_config tmu1_platform_data = {
static struct resource tmu1_resources[] = { static struct resource tmu1_resources[] = {
[0] = { [0] = {
.name = "TMU1",
.start = 0xffd80014, .start = 0xffd80014,
.end = 0xffd8001f, .end = 0xffd8001f,
.flags = IORESOURCE_MEM, .flags = IORESOURCE_MEM,
...@@ -111,7 +107,6 @@ static struct platform_device tmu1_device = { ...@@ -111,7 +107,6 @@ static struct platform_device tmu1_device = {
}; };
static struct sh_timer_config tmu2_platform_data = { static struct sh_timer_config tmu2_platform_data = {
.name = "TMU2",
.channel_offset = 0x1c, .channel_offset = 0x1c,
.timer_bit = 2, .timer_bit = 2,
.clk = "peripheral_clk", .clk = "peripheral_clk",
...@@ -119,7 +114,6 @@ static struct sh_timer_config tmu2_platform_data = { ...@@ -119,7 +114,6 @@ static struct sh_timer_config tmu2_platform_data = {
static struct resource tmu2_resources[] = { static struct resource tmu2_resources[] = {
[0] = { [0] = {
.name = "TMU2",
.start = 0xffd80020, .start = 0xffd80020,
.end = 0xffd8002f, .end = 0xffd8002f,
.flags = IORESOURCE_MEM, .flags = IORESOURCE_MEM,
...@@ -141,7 +135,6 @@ static struct platform_device tmu2_device = { ...@@ -141,7 +135,6 @@ static struct platform_device tmu2_device = {
}; };
static struct sh_timer_config tmu3_platform_data = { static struct sh_timer_config tmu3_platform_data = {
.name = "TMU3",
.channel_offset = 0x04, .channel_offset = 0x04,
.timer_bit = 0, .timer_bit = 0,
.clk = "peripheral_clk", .clk = "peripheral_clk",
...@@ -149,7 +142,6 @@ static struct sh_timer_config tmu3_platform_data = { ...@@ -149,7 +142,6 @@ static struct sh_timer_config tmu3_platform_data = {
static struct resource tmu3_resources[] = { static struct resource tmu3_resources[] = {
[0] = { [0] = {
.name = "TMU3",
.start = 0xffdc0008, .start = 0xffdc0008,
.end = 0xffdc0013, .end = 0xffdc0013,
.flags = IORESOURCE_MEM, .flags = IORESOURCE_MEM,
...@@ -171,7 +163,6 @@ static struct platform_device tmu3_device = { ...@@ -171,7 +163,6 @@ static struct platform_device tmu3_device = {
}; };
static struct sh_timer_config tmu4_platform_data = { static struct sh_timer_config tmu4_platform_data = {
.name = "TMU4",
.channel_offset = 0x10, .channel_offset = 0x10,
.timer_bit = 1, .timer_bit = 1,
.clk = "peripheral_clk", .clk = "peripheral_clk",
...@@ -179,7 +170,6 @@ static struct sh_timer_config tmu4_platform_data = { ...@@ -179,7 +170,6 @@ static struct sh_timer_config tmu4_platform_data = {
static struct resource tmu4_resources[] = { static struct resource tmu4_resources[] = {
[0] = { [0] = {
.name = "TMU4",
.start = 0xffdc0014, .start = 0xffdc0014,
.end = 0xffdc001f, .end = 0xffdc001f,
.flags = IORESOURCE_MEM, .flags = IORESOURCE_MEM,
...@@ -201,7 +191,6 @@ static struct platform_device tmu4_device = { ...@@ -201,7 +191,6 @@ static struct platform_device tmu4_device = {
}; };
static struct sh_timer_config tmu5_platform_data = { static struct sh_timer_config tmu5_platform_data = {
.name = "TMU5",
.channel_offset = 0x1c, .channel_offset = 0x1c,
.timer_bit = 2, .timer_bit = 2,
.clk = "peripheral_clk", .clk = "peripheral_clk",
...@@ -209,7 +198,6 @@ static struct sh_timer_config tmu5_platform_data = { ...@@ -209,7 +198,6 @@ static struct sh_timer_config tmu5_platform_data = {
static struct resource tmu5_resources[] = { static struct resource tmu5_resources[] = {
[0] = { [0] = {
.name = "TMU5",
.start = 0xffdc0020, .start = 0xffdc0020,
.end = 0xffdc002b, .end = 0xffdc002b,
.flags = IORESOURCE_MEM, .flags = IORESOURCE_MEM,
......
...@@ -117,7 +117,6 @@ static struct platform_device scif5_device = { ...@@ -117,7 +117,6 @@ static struct platform_device scif5_device = {
}; };
static struct sh_timer_config tmu0_platform_data = { static struct sh_timer_config tmu0_platform_data = {
.name = "TMU0",
.channel_offset = 0x04, .channel_offset = 0x04,
.timer_bit = 0, .timer_bit = 0,
.clk = "tmu012_fck", .clk = "tmu012_fck",
...@@ -126,7 +125,6 @@ static struct sh_timer_config tmu0_platform_data = { ...@@ -126,7 +125,6 @@ static struct sh_timer_config tmu0_platform_data = {
static struct resource tmu0_resources[] = { static struct resource tmu0_resources[] = {
[0] = { [0] = {
.name = "TMU0",
.start = 0xffd80008, .start = 0xffd80008,
.end = 0xffd80013, .end = 0xffd80013,
.flags = IORESOURCE_MEM, .flags = IORESOURCE_MEM,
...@@ -148,7 +146,6 @@ static struct platform_device tmu0_device = { ...@@ -148,7 +146,6 @@ static struct platform_device tmu0_device = {
}; };
static struct sh_timer_config tmu1_platform_data = { static struct sh_timer_config tmu1_platform_data = {
.name = "TMU1",
.channel_offset = 0x10, .channel_offset = 0x10,
.timer_bit = 1, .timer_bit = 1,
.clk = "tmu012_fck", .clk = "tmu012_fck",
...@@ -157,7 +154,6 @@ static struct sh_timer_config tmu1_platform_data = { ...@@ -157,7 +154,6 @@ static struct sh_timer_config tmu1_platform_data = {
static struct resource tmu1_resources[] = { static struct resource tmu1_resources[] = {
[0] = { [0] = {
.name = "TMU1",
.start = 0xffd80014, .start = 0xffd80014,
.end = 0xffd8001f, .end = 0xffd8001f,
.flags = IORESOURCE_MEM, .flags = IORESOURCE_MEM,
...@@ -179,7 +175,6 @@ static struct platform_device tmu1_device = { ...@@ -179,7 +175,6 @@ static struct platform_device tmu1_device = {
}; };
static struct sh_timer_config tmu2_platform_data = { static struct sh_timer_config tmu2_platform_data = {
.name = "TMU2",
.channel_offset = 0x1c, .channel_offset = 0x1c,
.timer_bit = 2, .timer_bit = 2,
.clk = "tmu012_fck", .clk = "tmu012_fck",
...@@ -187,7 +182,6 @@ static struct sh_timer_config tmu2_platform_data = { ...@@ -187,7 +182,6 @@ static struct sh_timer_config tmu2_platform_data = {
static struct resource tmu2_resources[] = { static struct resource tmu2_resources[] = {
[0] = { [0] = {
.name = "TMU2",
.start = 0xffd80020, .start = 0xffd80020,
.end = 0xffd8002f, .end = 0xffd8002f,
.flags = IORESOURCE_MEM, .flags = IORESOURCE_MEM,
...@@ -209,7 +203,6 @@ static struct platform_device tmu2_device = { ...@@ -209,7 +203,6 @@ static struct platform_device tmu2_device = {
}; };
static struct sh_timer_config tmu3_platform_data = { static struct sh_timer_config tmu3_platform_data = {
.name = "TMU3",
.channel_offset = 0x04, .channel_offset = 0x04,
.timer_bit = 0, .timer_bit = 0,
.clk = "tmu345_fck", .clk = "tmu345_fck",
...@@ -217,7 +210,6 @@ static struct sh_timer_config tmu3_platform_data = { ...@@ -217,7 +210,6 @@ static struct sh_timer_config tmu3_platform_data = {
static struct resource tmu3_resources[] = { static struct resource tmu3_resources[] = {
[0] = { [0] = {
.name = "TMU3",
.start = 0xffdc0008, .start = 0xffdc0008,
.end = 0xffdc0013, .end = 0xffdc0013,
.flags = IORESOURCE_MEM, .flags = IORESOURCE_MEM,
...@@ -239,7 +231,6 @@ static struct platform_device tmu3_device = { ...@@ -239,7 +231,6 @@ static struct platform_device tmu3_device = {
}; };
static struct sh_timer_config tmu4_platform_data = { static struct sh_timer_config tmu4_platform_data = {
.name = "TMU4",
.channel_offset = 0x10, .channel_offset = 0x10,
.timer_bit = 1, .timer_bit = 1,
.clk = "tmu345_fck", .clk = "tmu345_fck",
...@@ -247,7 +238,6 @@ static struct sh_timer_config tmu4_platform_data = { ...@@ -247,7 +238,6 @@ static struct sh_timer_config tmu4_platform_data = {
static struct resource tmu4_resources[] = { static struct resource tmu4_resources[] = {
[0] = { [0] = {
.name = "TMU4",
.start = 0xffdc0014, .start = 0xffdc0014,
.end = 0xffdc001f, .end = 0xffdc001f,
.flags = IORESOURCE_MEM, .flags = IORESOURCE_MEM,
...@@ -269,7 +259,6 @@ static struct platform_device tmu4_device = { ...@@ -269,7 +259,6 @@ static struct platform_device tmu4_device = {
}; };
static struct sh_timer_config tmu5_platform_data = { static struct sh_timer_config tmu5_platform_data = {
.name = "TMU5",
.channel_offset = 0x1c, .channel_offset = 0x1c,
.timer_bit = 2, .timer_bit = 2,
.clk = "tmu345_fck", .clk = "tmu345_fck",
...@@ -277,7 +266,6 @@ static struct sh_timer_config tmu5_platform_data = { ...@@ -277,7 +266,6 @@ static struct sh_timer_config tmu5_platform_data = {
static struct resource tmu5_resources[] = { static struct resource tmu5_resources[] = {
[0] = { [0] = {
.name = "TMU5",
.start = 0xffdc0020, .start = 0xffdc0020,
.end = 0xffdc002b, .end = 0xffdc002b,
.flags = IORESOURCE_MEM, .flags = IORESOURCE_MEM,
......
...@@ -117,7 +117,6 @@ static struct platform_device scif5_device = { ...@@ -117,7 +117,6 @@ static struct platform_device scif5_device = {
}; };
static struct sh_timer_config tmu0_platform_data = { static struct sh_timer_config tmu0_platform_data = {
.name = "TMU0",
.channel_offset = 0x04, .channel_offset = 0x04,
.timer_bit = 0, .timer_bit = 0,
.clk = "peripheral_clk", .clk = "peripheral_clk",
...@@ -126,7 +125,6 @@ static struct sh_timer_config tmu0_platform_data = { ...@@ -126,7 +125,6 @@ static struct sh_timer_config tmu0_platform_data = {
static struct resource tmu0_resources[] = { static struct resource tmu0_resources[] = {
[0] = { [0] = {
.name = "TMU0",
.start = 0xffd80008, .start = 0xffd80008,
.end = 0xffd80013, .end = 0xffd80013,
.flags = IORESOURCE_MEM, .flags = IORESOURCE_MEM,
...@@ -148,7 +146,6 @@ static struct platform_device tmu0_device = { ...@@ -148,7 +146,6 @@ static struct platform_device tmu0_device = {
}; };
static struct sh_timer_config tmu1_platform_data = { static struct sh_timer_config tmu1_platform_data = {
.name = "TMU1",
.channel_offset = 0x10, .channel_offset = 0x10,
.timer_bit = 1, .timer_bit = 1,
.clk = "peripheral_clk", .clk = "peripheral_clk",
...@@ -157,7 +154,6 @@ static struct sh_timer_config tmu1_platform_data = { ...@@ -157,7 +154,6 @@ static struct sh_timer_config tmu1_platform_data = {
static struct resource tmu1_resources[] = { static struct resource tmu1_resources[] = {
[0] = { [0] = {
.name = "TMU1",
.start = 0xffd80014, .start = 0xffd80014,
.end = 0xffd8001f, .end = 0xffd8001f,
.flags = IORESOURCE_MEM, .flags = IORESOURCE_MEM,
...@@ -179,7 +175,6 @@ static struct platform_device tmu1_device = { ...@@ -179,7 +175,6 @@ static struct platform_device tmu1_device = {
}; };
static struct sh_timer_config tmu2_platform_data = { static struct sh_timer_config tmu2_platform_data = {
.name = "TMU2",
.channel_offset = 0x1c, .channel_offset = 0x1c,
.timer_bit = 2, .timer_bit = 2,
.clk = "peripheral_clk", .clk = "peripheral_clk",
...@@ -187,7 +182,6 @@ static struct sh_timer_config tmu2_platform_data = { ...@@ -187,7 +182,6 @@ static struct sh_timer_config tmu2_platform_data = {
static struct resource tmu2_resources[] = { static struct resource tmu2_resources[] = {
[0] = { [0] = {
.name = "TMU2",
.start = 0xffd80020, .start = 0xffd80020,
.end = 0xffd8002f, .end = 0xffd8002f,
.flags = IORESOURCE_MEM, .flags = IORESOURCE_MEM,
...@@ -209,7 +203,6 @@ static struct platform_device tmu2_device = { ...@@ -209,7 +203,6 @@ static struct platform_device tmu2_device = {
}; };
static struct sh_timer_config tmu3_platform_data = { static struct sh_timer_config tmu3_platform_data = {
.name = "TMU3",
.channel_offset = 0x04, .channel_offset = 0x04,
.timer_bit = 0, .timer_bit = 0,
.clk = "peripheral_clk", .clk = "peripheral_clk",
...@@ -217,7 +210,6 @@ static struct sh_timer_config tmu3_platform_data = { ...@@ -217,7 +210,6 @@ static struct sh_timer_config tmu3_platform_data = {
static struct resource tmu3_resources[] = { static struct resource tmu3_resources[] = {
[0] = { [0] = {
.name = "TMU3",
.start = 0xffda0008, .start = 0xffda0008,
.end = 0xffda0013, .end = 0xffda0013,
.flags = IORESOURCE_MEM, .flags = IORESOURCE_MEM,
...@@ -239,7 +231,6 @@ static struct platform_device tmu3_device = { ...@@ -239,7 +231,6 @@ static struct platform_device tmu3_device = {
}; };
static struct sh_timer_config tmu4_platform_data = { static struct sh_timer_config tmu4_platform_data = {
.name = "TMU4",
.channel_offset = 0x10, .channel_offset = 0x10,
.timer_bit = 1, .timer_bit = 1,
.clk = "peripheral_clk", .clk = "peripheral_clk",
...@@ -247,7 +238,6 @@ static struct sh_timer_config tmu4_platform_data = { ...@@ -247,7 +238,6 @@ static struct sh_timer_config tmu4_platform_data = {
static struct resource tmu4_resources[] = { static struct resource tmu4_resources[] = {
[0] = { [0] = {
.name = "TMU4",
.start = 0xffda0014, .start = 0xffda0014,
.end = 0xffda001f, .end = 0xffda001f,
.flags = IORESOURCE_MEM, .flags = IORESOURCE_MEM,
...@@ -269,7 +259,6 @@ static struct platform_device tmu4_device = { ...@@ -269,7 +259,6 @@ static struct platform_device tmu4_device = {
}; };
static struct sh_timer_config tmu5_platform_data = { static struct sh_timer_config tmu5_platform_data = {
.name = "TMU5",
.channel_offset = 0x1c, .channel_offset = 0x1c,
.timer_bit = 2, .timer_bit = 2,
.clk = "peripheral_clk", .clk = "peripheral_clk",
...@@ -277,7 +266,6 @@ static struct sh_timer_config tmu5_platform_data = { ...@@ -277,7 +266,6 @@ static struct sh_timer_config tmu5_platform_data = {
static struct resource tmu5_resources[] = { static struct resource tmu5_resources[] = {
[0] = { [0] = {
.name = "TMU5",
.start = 0xffda0020, .start = 0xffda0020,
.end = 0xffda002b, .end = 0xffda002b,
.flags = IORESOURCE_MEM, .flags = IORESOURCE_MEM,
...@@ -299,7 +287,6 @@ static struct platform_device tmu5_device = { ...@@ -299,7 +287,6 @@ static struct platform_device tmu5_device = {
}; };
static struct sh_timer_config tmu6_platform_data = { static struct sh_timer_config tmu6_platform_data = {
.name = "TMU6",
.channel_offset = 0x04, .channel_offset = 0x04,
.timer_bit = 0, .timer_bit = 0,
.clk = "peripheral_clk", .clk = "peripheral_clk",
...@@ -307,7 +294,6 @@ static struct sh_timer_config tmu6_platform_data = { ...@@ -307,7 +294,6 @@ static struct sh_timer_config tmu6_platform_data = {
static struct resource tmu6_resources[] = { static struct resource tmu6_resources[] = {
[0] = { [0] = {
.name = "TMU6",
.start = 0xffdc0008, .start = 0xffdc0008,
.end = 0xffdc0013, .end = 0xffdc0013,
.flags = IORESOURCE_MEM, .flags = IORESOURCE_MEM,
...@@ -329,7 +315,6 @@ static struct platform_device tmu6_device = { ...@@ -329,7 +315,6 @@ static struct platform_device tmu6_device = {
}; };
static struct sh_timer_config tmu7_platform_data = { static struct sh_timer_config tmu7_platform_data = {
.name = "TMU7",
.channel_offset = 0x10, .channel_offset = 0x10,
.timer_bit = 1, .timer_bit = 1,
.clk = "peripheral_clk", .clk = "peripheral_clk",
...@@ -337,7 +322,6 @@ static struct sh_timer_config tmu7_platform_data = { ...@@ -337,7 +322,6 @@ static struct sh_timer_config tmu7_platform_data = {
static struct resource tmu7_resources[] = { static struct resource tmu7_resources[] = {
[0] = { [0] = {
.name = "TMU7",
.start = 0xffdc0014, .start = 0xffdc0014,
.end = 0xffdc001f, .end = 0xffdc001f,
.flags = IORESOURCE_MEM, .flags = IORESOURCE_MEM,
...@@ -359,7 +343,6 @@ static struct platform_device tmu7_device = { ...@@ -359,7 +343,6 @@ static struct platform_device tmu7_device = {
}; };
static struct sh_timer_config tmu8_platform_data = { static struct sh_timer_config tmu8_platform_data = {
.name = "TMU8",
.channel_offset = 0x1c, .channel_offset = 0x1c,
.timer_bit = 2, .timer_bit = 2,
.clk = "peripheral_clk", .clk = "peripheral_clk",
...@@ -367,7 +350,6 @@ static struct sh_timer_config tmu8_platform_data = { ...@@ -367,7 +350,6 @@ static struct sh_timer_config tmu8_platform_data = {
static struct resource tmu8_resources[] = { static struct resource tmu8_resources[] = {
[0] = { [0] = {
.name = "TMU8",
.start = 0xffdc0020, .start = 0xffdc0020,
.end = 0xffdc002b, .end = 0xffdc002b,
.flags = IORESOURCE_MEM, .flags = IORESOURCE_MEM,
...@@ -389,7 +371,6 @@ static struct platform_device tmu8_device = { ...@@ -389,7 +371,6 @@ static struct platform_device tmu8_device = {
}; };
static struct sh_timer_config tmu9_platform_data = { static struct sh_timer_config tmu9_platform_data = {
.name = "TMU9",
.channel_offset = 0x04, .channel_offset = 0x04,
.timer_bit = 0, .timer_bit = 0,
.clk = "peripheral_clk", .clk = "peripheral_clk",
...@@ -397,7 +378,6 @@ static struct sh_timer_config tmu9_platform_data = { ...@@ -397,7 +378,6 @@ static struct sh_timer_config tmu9_platform_data = {
static struct resource tmu9_resources[] = { static struct resource tmu9_resources[] = {
[0] = { [0] = {
.name = "TMU9",
.start = 0xffde0008, .start = 0xffde0008,
.end = 0xffde0013, .end = 0xffde0013,
.flags = IORESOURCE_MEM, .flags = IORESOURCE_MEM,
...@@ -419,7 +399,6 @@ static struct platform_device tmu9_device = { ...@@ -419,7 +399,6 @@ static struct platform_device tmu9_device = {
}; };
static struct sh_timer_config tmu10_platform_data = { static struct sh_timer_config tmu10_platform_data = {
.name = "TMU10",
.channel_offset = 0x10, .channel_offset = 0x10,
.timer_bit = 1, .timer_bit = 1,
.clk = "peripheral_clk", .clk = "peripheral_clk",
...@@ -427,7 +406,6 @@ static struct sh_timer_config tmu10_platform_data = { ...@@ -427,7 +406,6 @@ static struct sh_timer_config tmu10_platform_data = {
static struct resource tmu10_resources[] = { static struct resource tmu10_resources[] = {
[0] = { [0] = {
.name = "TMU10",
.start = 0xffde0014, .start = 0xffde0014,
.end = 0xffde001f, .end = 0xffde001f,
.flags = IORESOURCE_MEM, .flags = IORESOURCE_MEM,
...@@ -449,7 +427,6 @@ static struct platform_device tmu10_device = { ...@@ -449,7 +427,6 @@ static struct platform_device tmu10_device = {
}; };
static struct sh_timer_config tmu11_platform_data = { static struct sh_timer_config tmu11_platform_data = {
.name = "TMU11",
.channel_offset = 0x1c, .channel_offset = 0x1c,
.timer_bit = 2, .timer_bit = 2,
.clk = "peripheral_clk", .clk = "peripheral_clk",
...@@ -457,7 +434,6 @@ static struct sh_timer_config tmu11_platform_data = { ...@@ -457,7 +434,6 @@ static struct sh_timer_config tmu11_platform_data = {
static struct resource tmu11_resources[] = { static struct resource tmu11_resources[] = {
[0] = { [0] = {
.name = "TMU11",
.start = 0xffde0020, .start = 0xffde0020,
.end = 0xffde002b, .end = 0xffde002b,
.flags = IORESOURCE_MEM, .flags = IORESOURCE_MEM,
......
...@@ -70,7 +70,6 @@ static struct platform_device scif2_device = { ...@@ -70,7 +70,6 @@ static struct platform_device scif2_device = {
}; };
static struct sh_timer_config tmu0_platform_data = { static struct sh_timer_config tmu0_platform_data = {
.name = "TMU0",
.channel_offset = 0x04, .channel_offset = 0x04,
.timer_bit = 0, .timer_bit = 0,
.clk = "peripheral_clk", .clk = "peripheral_clk",
...@@ -79,7 +78,6 @@ static struct sh_timer_config tmu0_platform_data = { ...@@ -79,7 +78,6 @@ static struct sh_timer_config tmu0_platform_data = {
static struct resource tmu0_resources[] = { static struct resource tmu0_resources[] = {
[0] = { [0] = {
.name = "TMU0",
.start = 0xffc10008, .start = 0xffc10008,
.end = 0xffc10013, .end = 0xffc10013,
.flags = IORESOURCE_MEM, .flags = IORESOURCE_MEM,
...@@ -101,7 +99,6 @@ static struct platform_device tmu0_device = { ...@@ -101,7 +99,6 @@ static struct platform_device tmu0_device = {
}; };
static struct sh_timer_config tmu1_platform_data = { static struct sh_timer_config tmu1_platform_data = {
.name = "TMU1",
.channel_offset = 0x10, .channel_offset = 0x10,
.timer_bit = 1, .timer_bit = 1,
.clk = "peripheral_clk", .clk = "peripheral_clk",
...@@ -110,7 +107,6 @@ static struct sh_timer_config tmu1_platform_data = { ...@@ -110,7 +107,6 @@ static struct sh_timer_config tmu1_platform_data = {
static struct resource tmu1_resources[] = { static struct resource tmu1_resources[] = {
[0] = { [0] = {
.name = "TMU1",
.start = 0xffc10014, .start = 0xffc10014,
.end = 0xffc1001f, .end = 0xffc1001f,
.flags = IORESOURCE_MEM, .flags = IORESOURCE_MEM,
...@@ -132,7 +128,6 @@ static struct platform_device tmu1_device = { ...@@ -132,7 +128,6 @@ static struct platform_device tmu1_device = {
}; };
static struct sh_timer_config tmu2_platform_data = { static struct sh_timer_config tmu2_platform_data = {
.name = "TMU2",
.channel_offset = 0x1c, .channel_offset = 0x1c,
.timer_bit = 2, .timer_bit = 2,
.clk = "peripheral_clk", .clk = "peripheral_clk",
...@@ -140,7 +135,6 @@ static struct sh_timer_config tmu2_platform_data = { ...@@ -140,7 +135,6 @@ static struct sh_timer_config tmu2_platform_data = {
static struct resource tmu2_resources[] = { static struct resource tmu2_resources[] = {
[0] = { [0] = {
.name = "TMU2",
.start = 0xffc10020, .start = 0xffc10020,
.end = 0xffc1002f, .end = 0xffc1002f,
.flags = IORESOURCE_MEM, .flags = IORESOURCE_MEM,
...@@ -162,7 +156,6 @@ static struct platform_device tmu2_device = { ...@@ -162,7 +156,6 @@ static struct platform_device tmu2_device = {
}; };
static struct sh_timer_config tmu3_platform_data = { static struct sh_timer_config tmu3_platform_data = {
.name = "TMU3",
.channel_offset = 0x04, .channel_offset = 0x04,
.timer_bit = 0, .timer_bit = 0,
.clk = "peripheral_clk", .clk = "peripheral_clk",
...@@ -170,7 +163,6 @@ static struct sh_timer_config tmu3_platform_data = { ...@@ -170,7 +163,6 @@ static struct sh_timer_config tmu3_platform_data = {
static struct resource tmu3_resources[] = { static struct resource tmu3_resources[] = {
[0] = { [0] = {
.name = "TMU3",
.start = 0xffc20008, .start = 0xffc20008,
.end = 0xffc20013, .end = 0xffc20013,
.flags = IORESOURCE_MEM, .flags = IORESOURCE_MEM,
...@@ -192,7 +184,6 @@ static struct platform_device tmu3_device = { ...@@ -192,7 +184,6 @@ static struct platform_device tmu3_device = {
}; };
static struct sh_timer_config tmu4_platform_data = { static struct sh_timer_config tmu4_platform_data = {
.name = "TMU4",
.channel_offset = 0x10, .channel_offset = 0x10,
.timer_bit = 1, .timer_bit = 1,
.clk = "peripheral_clk", .clk = "peripheral_clk",
...@@ -200,7 +191,6 @@ static struct sh_timer_config tmu4_platform_data = { ...@@ -200,7 +191,6 @@ static struct sh_timer_config tmu4_platform_data = {
static struct resource tmu4_resources[] = { static struct resource tmu4_resources[] = {
[0] = { [0] = {
.name = "TMU4",
.start = 0xffc20014, .start = 0xffc20014,
.end = 0xffc2001f, .end = 0xffc2001f,
.flags = IORESOURCE_MEM, .flags = IORESOURCE_MEM,
...@@ -222,7 +212,6 @@ static struct platform_device tmu4_device = { ...@@ -222,7 +212,6 @@ static struct platform_device tmu4_device = {
}; };
static struct sh_timer_config tmu5_platform_data = { static struct sh_timer_config tmu5_platform_data = {
.name = "TMU5",
.channel_offset = 0x1c, .channel_offset = 0x1c,
.timer_bit = 2, .timer_bit = 2,
.clk = "peripheral_clk", .clk = "peripheral_clk",
...@@ -230,7 +219,6 @@ static struct sh_timer_config tmu5_platform_data = { ...@@ -230,7 +219,6 @@ static struct sh_timer_config tmu5_platform_data = {
static struct resource tmu5_resources[] = { static struct resource tmu5_resources[] = {
[0] = { [0] = {
.name = "TMU5",
.start = 0xffc20020, .start = 0xffc20020,
.end = 0xffc2002b, .end = 0xffc2002b,
.flags = IORESOURCE_MEM, .flags = IORESOURCE_MEM,
......
...@@ -68,7 +68,6 @@ static struct platform_device rtc_device = { ...@@ -68,7 +68,6 @@ static struct platform_device rtc_device = {
#define TMU2_BASE (TMU_BASE + 0x8 + (0xc * 0x2)) #define TMU2_BASE (TMU_BASE + 0x8 + (0xc * 0x2))
static struct sh_timer_config tmu0_platform_data = { static struct sh_timer_config tmu0_platform_data = {
.name = "TMU0",
.channel_offset = 0x04, .channel_offset = 0x04,
.timer_bit = 0, .timer_bit = 0,
.clk = "peripheral_clk", .clk = "peripheral_clk",
...@@ -77,7 +76,6 @@ static struct sh_timer_config tmu0_platform_data = { ...@@ -77,7 +76,6 @@ static struct sh_timer_config tmu0_platform_data = {
static struct resource tmu0_resources[] = { static struct resource tmu0_resources[] = {
[0] = { [0] = {
.name = "TMU0",
.start = TMU0_BASE, .start = TMU0_BASE,
.end = TMU0_BASE + 0xc - 1, .end = TMU0_BASE + 0xc - 1,
.flags = IORESOURCE_MEM, .flags = IORESOURCE_MEM,
...@@ -99,7 +97,6 @@ static struct platform_device tmu0_device = { ...@@ -99,7 +97,6 @@ static struct platform_device tmu0_device = {
}; };
static struct sh_timer_config tmu1_platform_data = { static struct sh_timer_config tmu1_platform_data = {
.name = "TMU1",
.channel_offset = 0x10, .channel_offset = 0x10,
.timer_bit = 1, .timer_bit = 1,
.clk = "peripheral_clk", .clk = "peripheral_clk",
...@@ -108,7 +105,6 @@ static struct sh_timer_config tmu1_platform_data = { ...@@ -108,7 +105,6 @@ static struct sh_timer_config tmu1_platform_data = {
static struct resource tmu1_resources[] = { static struct resource tmu1_resources[] = {
[0] = { [0] = {
.name = "TMU1",
.start = TMU1_BASE, .start = TMU1_BASE,
.end = TMU1_BASE + 0xc - 1, .end = TMU1_BASE + 0xc - 1,
.flags = IORESOURCE_MEM, .flags = IORESOURCE_MEM,
...@@ -130,7 +126,6 @@ static struct platform_device tmu1_device = { ...@@ -130,7 +126,6 @@ static struct platform_device tmu1_device = {
}; };
static struct sh_timer_config tmu2_platform_data = { static struct sh_timer_config tmu2_platform_data = {
.name = "TMU2",
.channel_offset = 0x1c, .channel_offset = 0x1c,
.timer_bit = 2, .timer_bit = 2,
.clk = "peripheral_clk", .clk = "peripheral_clk",
...@@ -138,7 +133,6 @@ static struct sh_timer_config tmu2_platform_data = { ...@@ -138,7 +133,6 @@ static struct sh_timer_config tmu2_platform_data = {
static struct resource tmu2_resources[] = { static struct resource tmu2_resources[] = {
[0] = { [0] = {
.name = "TMU2",
.start = TMU2_BASE, .start = TMU2_BASE,
.end = TMU2_BASE + 0xc - 1, .end = TMU2_BASE + 0xc - 1,
.flags = IORESOURCE_MEM, .flags = IORESOURCE_MEM,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment