aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/clock34xx_data.c
diff options
context:
space:
mode:
authorPaul Walmsley <paul@pwsan.com>2010-01-26 22:12:57 -0500
committerPaul Walmsley <paul@pwsan.com>2010-01-26 22:12:57 -0500
commite9b98f6040f5a7a04d659759d83ea28d9c528800 (patch)
tree904811708c1e70cb26eb5e680e3974087085954f /arch/arm/mach-omap2/clock34xx_data.c
parentced825293ac34d4f250775c40f13cc6330653309 (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/clock34xx_data.c')
-rw-r--r--arch/arm/mach-omap2/clock34xx_data.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/mach-omap2/clock34xx_data.c b/arch/arm/mach-omap2/clock34xx_data.c
index cbb421a45763..9e7f68a8fca2 100644
--- a/arch/arm/mach-omap2/clock34xx_data.c
+++ b/arch/arm/mach-omap2/clock34xx_data.c
@@ -735,7 +735,7 @@ static struct clk omap_12m_fck = {
735 .ops = &clkops_null, 735 .ops = &clkops_null,
736 .parent = &omap_48m_fck, 736 .parent = &omap_48m_fck,
737 .fixed_div = 4, 737 .fixed_div = 4,
738 .recalc = &omap2_fixed_divisor_recalc, 738 .recalc = &omap_fixed_divisor_recalc,
739}; 739};
740 740
741/* This virstual clock is the source for dpll4_m4x2_ck */ 741/* This virstual clock is the source for dpll4_m4x2_ck */
@@ -1588,7 +1588,7 @@ static struct clk ssi_sst_fck_3430es1 = {
1588 .ops = &clkops_null, 1588 .ops = &clkops_null,
1589 .parent = &ssi_ssr_fck_3430es1, 1589 .parent = &ssi_ssr_fck_3430es1,
1590 .fixed_div = 2, 1590 .fixed_div = 2,
1591 .recalc = &omap2_fixed_divisor_recalc, 1591 .recalc = &omap_fixed_divisor_recalc,
1592}; 1592};
1593 1593
1594static struct clk ssi_sst_fck_3430es2 = { 1594static struct clk ssi_sst_fck_3430es2 = {
@@ -1596,7 +1596,7 @@ static struct clk ssi_sst_fck_3430es2 = {
1596 .ops = &clkops_null, 1596 .ops = &clkops_null,
1597 .parent = &ssi_ssr_fck_3430es2, 1597 .parent = &ssi_ssr_fck_3430es2,
1598 .fixed_div = 2, 1598 .fixed_div = 2,
1599 .recalc = &omap2_fixed_divisor_recalc, 1599 .recalc = &omap_fixed_divisor_recalc,
1600}; 1600};
1601 1601
1602 1602