diff options
Diffstat (limited to 'arch/arm/mach-omap1/clock.c')
-rw-r--r-- | arch/arm/mach-omap1/clock.c | 19 |
1 files changed, 1 insertions, 18 deletions
diff --git a/arch/arm/mach-omap1/clock.c b/arch/arm/mach-omap1/clock.c index 3e052f6532b1..e0aec1007a0d 100644 --- a/arch/arm/mach-omap1/clock.c +++ b/arch/arm/mach-omap1/clock.c | |||
@@ -1,7 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * linux/arch/arm/mach-omap1/clock.c | 2 | * linux/arch/arm/mach-omap1/clock.c |
3 | * | 3 | * |
4 | * Copyright (C) 2004 - 2005, 2009 Nokia corporation | 4 | * Copyright (C) 2004 - 2005, 2009-2010 Nokia Corporation |
5 | * Written by Tuukka Tikkanen <tuukka.tikkanen@elektrobit.com> | 5 | * Written by Tuukka Tikkanen <tuukka.tikkanen@elektrobit.com> |
6 | * | 6 | * |
7 | * Modified to use omap shared clock framework by | 7 | * Modified to use omap shared clock framework by |
@@ -38,20 +38,6 @@ struct clk *api_ck_p, *ck_dpll1_p, *ck_ref_p; | |||
38 | * Omap1 specific clock functions | 38 | * Omap1 specific clock functions |
39 | *-------------------------------------------------------------------------*/ | 39 | *-------------------------------------------------------------------------*/ |
40 | 40 | ||
41 | static int clk_omap1_dummy_enable(struct clk *clk) | ||
42 | { | ||
43 | return 0; | ||
44 | } | ||
45 | |||
46 | static void clk_omap1_dummy_disable(struct clk *clk) | ||
47 | { | ||
48 | } | ||
49 | |||
50 | const struct clkops clkops_dummy = { | ||
51 | .enable = clk_omap1_dummy_enable, | ||
52 | .disable = clk_omap1_dummy_disable, | ||
53 | }; | ||
54 | |||
55 | unsigned long omap1_uart_recalc(struct clk *clk) | 41 | unsigned long omap1_uart_recalc(struct clk *clk) |
56 | { | 42 | { |
57 | unsigned int val = __raw_readl(clk->enable_reg); | 43 | unsigned int val = __raw_readl(clk->enable_reg); |
@@ -571,9 +557,6 @@ const struct clkops clkops_uart = { | |||
571 | 557 | ||
572 | long omap1_clk_round_rate(struct clk *clk, unsigned long rate) | 558 | long omap1_clk_round_rate(struct clk *clk, unsigned long rate) |
573 | { | 559 | { |
574 | if (clk->flags & RATE_FIXED) | ||
575 | return clk->rate; | ||
576 | |||
577 | if (clk->round_rate != NULL) | 560 | if (clk->round_rate != NULL) |
578 | return clk->round_rate(clk, rate); | 561 | return clk->round_rate(clk, rate); |
579 | 562 | ||