diff options
author | Paul Mundt <lethal@linux-sh.org> | 2010-03-29 04:37:39 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2010-03-29 04:37:39 -0400 |
commit | 04b1731766b22cd41a0acd480e3206e93f2d5931 (patch) | |
tree | ae9f463f44ce567820f47ebc8067c0277c08b4d1 /arch/sh/kernel/cpu | |
parent | 2169bc1bae5d6d996276ddbd017f9d9b582abcae (diff) |
sh: sh7722 clock string death.
Kills off clock string usage, using the new function clock definition
instead.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/kernel/cpu')
-rw-r--r-- | arch/sh/kernel/cpu/sh4a/clock-sh7722.c | 4 | ||||
-rw-r--r-- | arch/sh/kernel/cpu/sh4a/setup-sh7722.c | 4 |
2 files changed, 2 insertions, 6 deletions
diff --git a/arch/sh/kernel/cpu/sh4a/clock-sh7722.c b/arch/sh/kernel/cpu/sh4a/clock-sh7722.c index 0732c8bab1e2..107b200e78bd 100644 --- a/arch/sh/kernel/cpu/sh4a/clock-sh7722.c +++ b/arch/sh/kernel/cpu/sh4a/clock-sh7722.c | |||
@@ -160,8 +160,8 @@ struct clk div6_clks[] = { | |||
160 | static struct clk mstp_clks[] = { | 160 | static struct clk mstp_clks[] = { |
161 | SH_HWBLK_CLK("uram0", -1, U_CLK, HWBLK_URAM, CLK_ENABLE_ON_INIT), | 161 | SH_HWBLK_CLK("uram0", -1, U_CLK, HWBLK_URAM, CLK_ENABLE_ON_INIT), |
162 | SH_HWBLK_CLK("xymem0", -1, B_CLK, HWBLK_XYMEM, CLK_ENABLE_ON_INIT), | 162 | SH_HWBLK_CLK("xymem0", -1, B_CLK, HWBLK_XYMEM, CLK_ENABLE_ON_INIT), |
163 | SH_HWBLK_CLK("tmu0", -1, P_CLK, HWBLK_TMU, 0), | 163 | SH_HWBLK_CLK("tmu_fck", -1, P_CLK, HWBLK_TMU, 0), |
164 | SH_HWBLK_CLK("cmt0", -1, R_CLK, HWBLK_CMT, 0), | 164 | SH_HWBLK_CLK("cmt_fck", -1, R_CLK, HWBLK_CMT, 0), |
165 | SH_HWBLK_CLK("rwdt0", -1, R_CLK, HWBLK_RWDT, 0), | 165 | SH_HWBLK_CLK("rwdt0", -1, R_CLK, HWBLK_RWDT, 0), |
166 | SH_HWBLK_CLK("flctl0", -1, P_CLK, HWBLK_FLCTL, 0), | 166 | SH_HWBLK_CLK("flctl0", -1, P_CLK, HWBLK_FLCTL, 0), |
167 | SH_HWBLK_CLK("sci_fck", 0, P_CLK, HWBLK_SCIF0, 0), | 167 | SH_HWBLK_CLK("sci_fck", 0, P_CLK, HWBLK_SCIF0, 0), |
diff --git a/arch/sh/kernel/cpu/sh4a/setup-sh7722.c b/arch/sh/kernel/cpu/sh4a/setup-sh7722.c index 847a27619af5..dc9b30d086a4 100644 --- a/arch/sh/kernel/cpu/sh4a/setup-sh7722.c +++ b/arch/sh/kernel/cpu/sh4a/setup-sh7722.c | |||
@@ -400,7 +400,6 @@ static struct platform_device jpu_device = { | |||
400 | static struct sh_timer_config cmt_platform_data = { | 400 | static struct sh_timer_config cmt_platform_data = { |
401 | .channel_offset = 0x60, | 401 | .channel_offset = 0x60, |
402 | .timer_bit = 5, | 402 | .timer_bit = 5, |
403 | .clk = "cmt0", | ||
404 | .clockevent_rating = 125, | 403 | .clockevent_rating = 125, |
405 | .clocksource_rating = 125, | 404 | .clocksource_rating = 125, |
406 | }; | 405 | }; |
@@ -433,7 +432,6 @@ static struct platform_device cmt_device = { | |||
433 | static struct sh_timer_config tmu0_platform_data = { | 432 | static struct sh_timer_config tmu0_platform_data = { |
434 | .channel_offset = 0x04, | 433 | .channel_offset = 0x04, |
435 | .timer_bit = 0, | 434 | .timer_bit = 0, |
436 | .clk = "tmu0", | ||
437 | .clockevent_rating = 200, | 435 | .clockevent_rating = 200, |
438 | }; | 436 | }; |
439 | 437 | ||
@@ -465,7 +463,6 @@ static struct platform_device tmu0_device = { | |||
465 | static struct sh_timer_config tmu1_platform_data = { | 463 | static struct sh_timer_config tmu1_platform_data = { |
466 | .channel_offset = 0x10, | 464 | .channel_offset = 0x10, |
467 | .timer_bit = 1, | 465 | .timer_bit = 1, |
468 | .clk = "tmu0", | ||
469 | .clocksource_rating = 200, | 466 | .clocksource_rating = 200, |
470 | }; | 467 | }; |
471 | 468 | ||
@@ -497,7 +494,6 @@ static struct platform_device tmu1_device = { | |||
497 | static struct sh_timer_config tmu2_platform_data = { | 494 | static struct sh_timer_config tmu2_platform_data = { |
498 | .channel_offset = 0x1c, | 495 | .channel_offset = 0x1c, |
499 | .timer_bit = 2, | 496 | .timer_bit = 2, |
500 | .clk = "tmu0", | ||
501 | }; | 497 | }; |
502 | 498 | ||
503 | static struct resource tmu2_resources[] = { | 499 | static struct resource tmu2_resources[] = { |