diff options
author | Paul Walmsley <paul@pwsan.com> | 2010-01-26 22:12:57 -0500 |
---|---|---|
committer | Paul Walmsley <paul@pwsan.com> | 2010-01-26 22:12:57 -0500 |
commit | 0dfc242ff05fcc4bbef1e1bf4eed6f7d01e0cb44 (patch) | |
tree | b58a753d64c6c2323297b73bb1997e07fd1af2ed /arch/arm/mach-omap1/clock_data.c | |
parent | e9b98f6040f5a7a04d659759d83ea28d9c528800 (diff) |
OMAP1 clock: convert armwdt_ck to use the fixed divisor recalc function
The armwdt_ck clock uses a fixed divisor, so it can use the OMAP clock
fixed divisor recalculation code, rather than a custom function.
Signed-off-by: Paul Walmsley <paul@pwsan.com>
Diffstat (limited to 'arch/arm/mach-omap1/clock_data.c')
-rw-r--r-- | arch/arm/mach-omap1/clock_data.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/mach-omap1/clock_data.c b/arch/arm/mach-omap1/clock_data.c index 65e7b5b85d83..edefb3440d30 100644 --- a/arch/arm/mach-omap1/clock_data.c +++ b/arch/arm/mach-omap1/clock_data.c | |||
@@ -149,7 +149,8 @@ static struct arm_idlect1_clk armwdt_ck = { | |||
149 | .flags = CLOCK_IDLE_CONTROL, | 149 | .flags = CLOCK_IDLE_CONTROL, |
150 | .enable_reg = OMAP1_IO_ADDRESS(ARM_IDLECT2), | 150 | .enable_reg = OMAP1_IO_ADDRESS(ARM_IDLECT2), |
151 | .enable_bit = EN_WDTCK, | 151 | .enable_bit = EN_WDTCK, |
152 | .recalc = &omap1_watchdog_recalc, | 152 | .fixed_div = 14, |
153 | .recalc = &omap_fixed_divisor_recalc, | ||
153 | }, | 154 | }, |
154 | .idlect_shift = 0, | 155 | .idlect_shift = 0, |
155 | }; | 156 | }; |