|
@@ -74,6 +74,8 @@ struct cpufreq_policy {
|
|
unsigned int max; /* in kHz */
|
|
unsigned int max; /* in kHz */
|
|
unsigned int cur; /* in kHz, only needed if cpufreq
|
|
unsigned int cur; /* in kHz, only needed if cpufreq
|
|
* governors are used */
|
|
* governors are used */
|
|
|
|
+ unsigned int suspend_freq; /* freq to set during suspend */
|
|
|
|
+
|
|
unsigned int policy; /* see above */
|
|
unsigned int policy; /* see above */
|
|
struct cpufreq_governor *governor; /* see below */
|
|
struct cpufreq_governor *governor; /* see below */
|
|
void *governor_data;
|
|
void *governor_data;
|
|
@@ -299,6 +301,7 @@ cpufreq_verify_within_cpu_limits(struct cpufreq_policy *policy)
|
|
#ifdef CONFIG_CPU_FREQ
|
|
#ifdef CONFIG_CPU_FREQ
|
|
void cpufreq_suspend(void);
|
|
void cpufreq_suspend(void);
|
|
void cpufreq_resume(void);
|
|
void cpufreq_resume(void);
|
|
|
|
+int cpufreq_generic_suspend(struct cpufreq_policy *policy);
|
|
#else
|
|
#else
|
|
static inline void cpufreq_suspend(void) {}
|
|
static inline void cpufreq_suspend(void) {}
|
|
static inline void cpufreq_resume(void) {}
|
|
static inline void cpufreq_resume(void) {}
|