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:
0dc10ea
)
cpufreq: qcom-kryo: make some variables static
author
Yangtao Li
<tiny.windzz@gmail.com>
Mon, 4 Feb 2019 06:13:10 +0000
(
01:13
-0500)
committer
Viresh Kumar
<viresh.kumar@linaro.org>
Thu, 7 Feb 2019 04:31:51 +0000
(10:01 +0530)
The variables are local to the source and do not
need to be in global scope, so make them static.
Signed-off-by: Yangtao Li <tiny.windzz@gmail.com>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
drivers/cpufreq/qcom-cpufreq-kryo.c
patch
|
blob
|
history
diff --git
a/drivers/cpufreq/qcom-cpufreq-kryo.c
b/drivers/cpufreq/qcom-cpufreq-kryo.c
index 2a3675c24032bc8059c4c591698d6a7b5218cf1d..1c8583cc06a2aa5f95bfc4c4ce0ca6f56e9a5d62 100644
(file)
--- a/
drivers/cpufreq/qcom-cpufreq-kryo.c
+++ b/
drivers/cpufreq/qcom-cpufreq-kryo.c
@@
-42,7
+42,7
@@
enum _msm8996_version {
NUM_OF_MSM8996_VERSIONS,
};
-struct platform_device *cpufreq_dt_pdev, *kryo_cpufreq_pdev;
+st
atic st
ruct platform_device *cpufreq_dt_pdev, *kryo_cpufreq_pdev;
static enum _msm8996_version qcom_cpufreq_kryo_get_msm_id(void)
{