diff options
author | Tero Kristo <t-kristo@ti.com> | 2014-07-28 16:25:23 +0300 |
---|---|---|
committer | Tero Kristo <t-kristo@ti.com> | 2014-07-28 16:25:23 +0300 |
commit | b84a415bbfaefa34f8b598f5d1640a374ed6a7da (patch) | |
tree | 7bf657738d9e2615dd3dfab65ea774fbbf6d2094 /include | |
parent | b45ad743f2377925b881f22b0defe5e3c7e4b5cd (diff) | |
parent | 9db77d156bdf00997829729022707ec876868d65 (diff) |
Merge remote-tracking branch 'nmenon-platform/v3.14/devel/suspend-j6-o5-j6eco-pm-branch' into pm-ti-linux-3.14.y-next
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/cpufreq.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/include/linux/cpufreq.h b/include/linux/cpufreq.h index 3642189296c..a8d9f5870c2 100644 --- a/include/linux/cpufreq.h +++ b/include/linux/cpufreq.h @@ -74,6 +74,8 @@ struct cpufreq_policy { unsigned int max; /* in kHz */ unsigned int cur; /* in kHz, only needed if cpufreq * governors are used */ + unsigned int suspend_freq; /* freq to set during suspend */ + unsigned int policy; /* see above */ struct cpufreq_governor *governor; /* see below */ void *governor_data; @@ -296,6 +298,15 @@ cpufreq_verify_within_cpu_limits(struct cpufreq_policy *policy) policy->cpuinfo.max_freq); } +#ifdef CONFIG_CPU_FREQ +void cpufreq_suspend(void); +void cpufreq_resume(void); +int cpufreq_generic_suspend(struct cpufreq_policy *policy); +#else +static inline void cpufreq_suspend(void) {} +static inline void cpufreq_resume(void) {} +#endif + /********************************************************************* * CPUFREQ NOTIFIER INTERFACE * *********************************************************************/ |