OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bb176f7
)
cpufreq: make __cpufreq_notify_transition() static
author
Viresh Kumar
<viresh.kumar@linaro.org>
Wed, 19 Jun 2013 08:49:34 +0000
(14:19 +0530)
committer
Rafael J. Wysocki
<rafael.j.wysocki@intel.com>
Thu, 20 Jun 2013 23:08:16 +0000
(
01:08
+0200)
__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>
drivers/cpufreq/cpufreq.c
patch
|
blob
|
history
diff --git
a/drivers/cpufreq/cpufreq.c
b/drivers/cpufreq/cpufreq.c
index
075edef
..
d976e22
100644
(file)
--- 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());