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/clock.h | |
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/clock.h')
-rw-r--r-- | arch/arm/mach-omap2/clock.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/clock.h b/arch/arm/mach-omap2/clock.h index 0d21702a3cdd..dcd58cde13b6 100644 --- a/arch/arm/mach-omap2/clock.h +++ b/arch/arm/mach-omap2/clock.h | |||
@@ -105,5 +105,12 @@ extern const struct clksel_rate gpt_32k_rates[]; | |||
105 | extern const struct clksel_rate gpt_sys_rates[]; | 105 | extern const struct clksel_rate gpt_sys_rates[]; |
106 | extern const struct clksel_rate gfx_l3_rates[]; | 106 | extern const struct clksel_rate gfx_l3_rates[]; |
107 | 107 | ||
108 | #if defined(CONFIG_ARCH_OMAP24XX) && defined(CONFIG_CPU_FREQ) | ||
109 | extern void omap2_clk_init_cpufreq_table(struct cpufreq_frequency_table **table); | ||
110 | extern void omap2_clk_exit_cpufreq_table(struct cpufreq_frequency_table **table); | ||
111 | #else | ||
112 | #define omap2_clk_init_cpufreq_table 0 | ||
113 | #define omap2_clk_exit_cpufreq_table 0 | ||
114 | #endif | ||
108 | 115 | ||
109 | #endif | 116 | #endif |