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 | e9b98f6040f5a7a04d659759d83ea28d9c528800 (patch) | |
tree | 904811708c1e70cb26eb5e680e3974087085954f /arch/arm/mach-omap2/clock2xxx_data.c | |
parent | ced825293ac34d4f250775c40f13cc6330653309 (diff) |
OMAP clock: make the fixed divisor clock code available for all OMAPs
One of the OMAP1 clocks can use the fixed divisor recalculation code
introduced in the OMAP2 clock code, so rename the
omap2_fixed_divisor_recalc() function to omap_fixed_divisor_recalc()
and make it available to all OMAPs. A followup patch converts the OMAP1
clock.
Signed-off-by: Paul Walmsley <paul@pwsan.com>
Diffstat (limited to 'arch/arm/mach-omap2/clock2xxx_data.c')
-rw-r--r-- | arch/arm/mach-omap2/clock2xxx_data.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-omap2/clock2xxx_data.c b/arch/arm/mach-omap2/clock2xxx_data.c index 97dc7cf7751d..402115fa9c12 100644 --- a/arch/arm/mach-omap2/clock2xxx_data.c +++ b/arch/arm/mach-omap2/clock2xxx_data.c | |||
@@ -261,7 +261,7 @@ static struct clk func_12m_ck = { | |||
261 | .parent = &func_48m_ck, | 261 | .parent = &func_48m_ck, |
262 | .fixed_div = 4, | 262 | .fixed_div = 4, |
263 | .clkdm_name = "wkup_clkdm", | 263 | .clkdm_name = "wkup_clkdm", |
264 | .recalc = &omap2_fixed_divisor_recalc, | 264 | .recalc = &omap_fixed_divisor_recalc, |
265 | }; | 265 | }; |
266 | 266 | ||
267 | /* Secure timer, only available in secure mode */ | 267 | /* Secure timer, only available in secure mode */ |
@@ -557,7 +557,7 @@ static struct clk iva1_mpu_int_ifck = { | |||
557 | .enable_reg = OMAP_CM_REGADDR(OMAP24XX_DSP_MOD, CM_FCLKEN), | 557 | .enable_reg = OMAP_CM_REGADDR(OMAP24XX_DSP_MOD, CM_FCLKEN), |
558 | .enable_bit = OMAP2420_EN_IVA_MPU_SHIFT, | 558 | .enable_bit = OMAP2420_EN_IVA_MPU_SHIFT, |
559 | .fixed_div = 2, | 559 | .fixed_div = 2, |
560 | .recalc = &omap2_fixed_divisor_recalc, | 560 | .recalc = &omap_fixed_divisor_recalc, |
561 | }; | 561 | }; |
562 | 562 | ||
563 | /* | 563 | /* |