diff options
author | Paul Walmsley <paul@pwsan.com> | 2010-01-26 22:13:04 -0500 |
---|---|---|
committer | Paul Walmsley <paul@pwsan.com> | 2010-01-26 22:13:04 -0500 |
commit | 69ecefca514c318d0ce993c48ffa3bad009c7b9b (patch) | |
tree | b23bcdbf2eda2fc212a5fd081abda89cbe13927f /arch/arm/mach-omap2/clock44xx.c | |
parent | 4b1f76ed4f8012929494261eb6923b3c98554a9a (diff) |
OMAP2/3/4 clock: combine all omap2_clk_functions
The struct clk_functions for OMAP2, 3, and 4 are all essentially the
same, so combine them. This removes one multi-OMAP kernel impediment
and saves memory on multi-OMAP builds.
The stubs for omap2_clk_{init,exit}_cpufreq() code will removed once
the OPP layer code that's currently in Kevin's PM branch is merged.
Signed-off-by: Paul Walmsley <paul@pwsan.com>
Cc: Kevin Hilman <khilman@deeprootsystems.com>
Diffstat (limited to 'arch/arm/mach-omap2/clock44xx.c')
-rw-r--r-- | arch/arm/mach-omap2/clock44xx.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/arch/arm/mach-omap2/clock44xx.c b/arch/arm/mach-omap2/clock44xx.c index e370868a79a..08dd6427df7 100644 --- a/arch/arm/mach-omap2/clock44xx.c +++ b/arch/arm/mach-omap2/clock44xx.c | |||
@@ -13,15 +13,6 @@ | |||
13 | #include <linux/errno.h> | 13 | #include <linux/errno.h> |
14 | #include "clock.h" | 14 | #include "clock.h" |
15 | 15 | ||
16 | struct clk_functions omap2_clk_functions = { | ||
17 | .clk_enable = omap2_clk_enable, | ||
18 | .clk_disable = omap2_clk_disable, | ||
19 | .clk_round_rate = omap2_clk_round_rate, | ||
20 | .clk_set_rate = omap2_clk_set_rate, | ||
21 | .clk_set_parent = omap2_clk_set_parent, | ||
22 | .clk_disable_unused = omap2_clk_disable_unused, | ||
23 | }; | ||
24 | |||
25 | const struct clkops clkops_noncore_dpll_ops = { | 16 | const struct clkops clkops_noncore_dpll_ops = { |
26 | .enable = &omap3_noncore_dpll_enable, | 17 | .enable = &omap3_noncore_dpll_enable, |
27 | .disable = &omap3_noncore_dpll_disable, | 18 | .disable = &omap3_noncore_dpll_disable, |