|
@@ -331,16 +331,15 @@ static void __cpufreq_notify_transition(struct cpufreq_policy *policy,
|
|
|
* function. It is called twice on all CPU frequency changes that have
|
|
|
* external effects.
|
|
|
*/
|
|
|
-void cpufreq_notify_transition(struct cpufreq_policy *policy,
|
|
|
+static void cpufreq_notify_transition(struct cpufreq_policy *policy,
|
|
|
struct cpufreq_freqs *freqs, unsigned int state)
|
|
|
{
|
|
|
for_each_cpu(freqs->cpu, policy->cpus)
|
|
|
__cpufreq_notify_transition(policy, freqs, state);
|
|
|
}
|
|
|
-EXPORT_SYMBOL_GPL(cpufreq_notify_transition);
|
|
|
|
|
|
/* Do post notifications when there are chances that transition has failed */
|
|
|
-void cpufreq_notify_post_transition(struct cpufreq_policy *policy,
|
|
|
+static void cpufreq_notify_post_transition(struct cpufreq_policy *policy,
|
|
|
struct cpufreq_freqs *freqs, int transition_failed)
|
|
|
{
|
|
|
cpufreq_notify_transition(policy, freqs, CPUFREQ_POSTCHANGE);
|
|
@@ -351,7 +350,6 @@ void cpufreq_notify_post_transition(struct cpufreq_policy *policy,
|
|
|
cpufreq_notify_transition(policy, freqs, CPUFREQ_PRECHANGE);
|
|
|
cpufreq_notify_transition(policy, freqs, CPUFREQ_POSTCHANGE);
|
|
|
}
|
|
|
-EXPORT_SYMBOL_GPL(cpufreq_notify_post_transition);
|
|
|
|
|
|
void cpufreq_freq_transition_begin(struct cpufreq_policy *policy,
|
|
|
struct cpufreq_freqs *freqs)
|