mirror of https://gitee.com/openkylin/linux.git
cpufreq: make __cpufreq_notify_transition() static
__cpufreq_notify_transition() is used only in cpufreq.c, make it static. Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
This commit is contained in:
parent
bb176f7d03
commit
0956df9c84
|
@ -297,7 +297,7 @@ static inline void adjust_jiffies(unsigned long val, struct cpufreq_freqs *ci)
|
|||
}
|
||||
#endif
|
||||
|
||||
void __cpufreq_notify_transition(struct cpufreq_policy *policy,
|
||||
static void __cpufreq_notify_transition(struct cpufreq_policy *policy,
|
||||
struct cpufreq_freqs *freqs, unsigned int state)
|
||||
{
|
||||
BUG_ON(irqs_disabled());
|
||||
|
|
Loading…
Reference in New Issue