diff options
author | Yangtao Li <tiny.windzz@gmail.com> | 2019-02-04 09:13:10 +0300 |
---|---|---|
committer | Viresh Kumar <viresh.kumar@linaro.org> | 2019-02-07 07:31:51 +0300 |
commit | 50c0b12f098fb3cfac7abcc0f2b5409f6bac5fa2 (patch) | |
tree | bf3bb32fe5efdcd77bdda8a08e8b67ddc0f808ab | |
parent | 0dc10eac6583602335c275c7dc5975946da30901 (diff) | |
download | linux-50c0b12f098fb3cfac7abcc0f2b5409f6bac5fa2.tar.xz |
cpufreq: qcom-kryo: make some variables static
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>
-rw-r--r-- | drivers/cpufreq/qcom-cpufreq-kryo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/cpufreq/qcom-cpufreq-kryo.c b/drivers/cpufreq/qcom-cpufreq-kryo.c index 2a3675c24032..1c8583cc06a2 100644 --- 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; +static struct platform_device *cpufreq_dt_pdev, *kryo_cpufreq_pdev; static enum _msm8996_version qcom_cpufreq_kryo_get_msm_id(void) { |