diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2009-11-20 08:04:14 -0500 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2010-02-12 12:32:37 -0500 |
commit | 24fd1edaac79fe9554c557f9f93b3197c136c236 (patch) | |
tree | c4832abaf020d7f75745e9c401f3df64ead87474 /arch/arm/mach-pnx4008 | |
parent | 9bb787f435c86ffed079b66efa3ef6a8c577568c (diff) |
ARM: PNX4008: convert watchdog to use clk API enable/disable calls
clk_set_rate() is not supposed to be used to turn clocks on and off.
That's what clk_enable/clk_disable is for.
Acked-by: Wim Van Sebroeck <wim@iguana.be>
Acked-by: Vitaly Wool <vitalywool@gmail.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-pnx4008')
-rw-r--r-- | arch/arm/mach-pnx4008/clock.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-pnx4008/clock.c b/arch/arm/mach-pnx4008/clock.c index e5140237fb15..944ffa94d325 100644 --- a/arch/arm/mach-pnx4008/clock.c +++ b/arch/arm/mach-pnx4008/clock.c | |||
@@ -740,10 +740,10 @@ static struct clk wdt_ck = { | |||
740 | .name = "wdt_ck", | 740 | .name = "wdt_ck", |
741 | .parent = &per_ck, | 741 | .parent = &per_ck, |
742 | .flags = NEEDS_INITIALIZATION, | 742 | .flags = NEEDS_INITIALIZATION, |
743 | .round_rate = &on_off_round_rate, | ||
744 | .set_rate = &on_off_set_rate, | ||
745 | .enable_shift = 0, | 743 | .enable_shift = 0, |
746 | .enable_reg = TIMCLKCTRL_REG, | 744 | .enable_reg = TIMCLKCTRL_REG, |
745 | .enable = clk_reg_enable, | ||
746 | .disable = clk_reg_disable, | ||
747 | }; | 747 | }; |
748 | 748 | ||
749 | /* These clocks are visible outside this module | 749 | /* These clocks are visible outside this module |