summaryrefslogtreecommitdiffstats
path: root/drivers/cpufreq
diff options
context:
space:
mode:
authorViresh Kumar <viresh.kumar@linaro.org>2013-06-19 10:49:34 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2013-06-21 01:08:16 +0200
commit0956df9c842a534b0b36f62f3a0fdb5fca19dc96 (patch)
treea300938993d0c21dcec10808c8ed95fd4177eae5 /drivers/cpufreq
parentcpufreq: Fix minor formatting issues (diff)
downloadlinux-0956df9c842a534b0b36f62f3a0fdb5fca19dc96.tar.xz
linux-0956df9c842a534b0b36f62f3a0fdb5fca19dc96.zip
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>
Diffstat (limited to 'drivers/cpufreq')
-rw-r--r--drivers/cpufreq/cpufreq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/cpufreq/cpufreq.c b/drivers/cpufreq/cpufreq.c
index 075edeff358c..d976e222f10f 100644
--- a/drivers/cpufreq/cpufreq.c
+++ b/drivers/cpufreq/cpufreq.c
@@ -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());