projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2f0d6f2
)
[CPUFREQ] s5pv210: make needlessly global symbols static
author
Axel Lin
<
[email protected]
>
Fri, 8 Jul 2011 06:24:36 +0000
(14:24 +0800)
committer
Dave Jones
<
[email protected]
>
Wed, 13 Jul 2011 22:30:00 +0000
(18:30 -0400)
The following symbols are needlessly defined global:
s5pv210_verify_speed
s5pv210_getspeed
Make them static.
Signed-off-by: Axel Lin <
[email protected]
>
Acked-by: Kukjin Kim <
[email protected]
>
Signed-off-by: Dave Jones <
[email protected]
>
drivers/cpufreq/s5pv210-cpufreq.c
patch
|
blob
|
history
diff --git
a/drivers/cpufreq/s5pv210-cpufreq.c
b/drivers/cpufreq/s5pv210-cpufreq.c
index 7c4bb070b904b250a2f8b7247acc1267a4b1cbaa..a484aaea980910a4b59bc4d2ad61e9143d3ae52d 100644
(file)
--- a/
drivers/cpufreq/s5pv210-cpufreq.c
+++ b/
drivers/cpufreq/s5pv210-cpufreq.c
@@
-174,7
+174,7
@@
static void s5pv210_set_refresh(enum s5pv210_dmc_port ch, unsigned long freq)
__raw_writel(tmp1, reg);
}
-int s5pv210_verify_speed(struct cpufreq_policy *policy)
+
static
int s5pv210_verify_speed(struct cpufreq_policy *policy)
{
if (policy->cpu)
return -EINVAL;
@@
-182,7
+182,7
@@
int s5pv210_verify_speed(struct cpufreq_policy *policy)
return cpufreq_frequency_table_verify(policy, s5pv210_freq_table);
}
-unsigned int s5pv210_getspeed(unsigned int cpu)
+
static
unsigned int s5pv210_getspeed(unsigned int cpu)
{
if (cpu)
return 0;