aboutsummaryrefslogtreecommitdiff
path: root/drivers/cpufreq/tegra194-cpufreq.c
diff options
context:
space:
mode:
authorGravatar Yang Yingliang <yangyingliang@huawei.com> 2022-09-23 22:50:16 +0800
committerGravatar Viresh Kumar <viresh.kumar@linaro.org> 2022-09-26 11:13:37 +0530
commitf991b117120569838676b9512f6e7d755fdfc12b (patch)
treef879bcf83edf1bfa7b949ae8858b449555ee05a0 /drivers/cpufreq/tegra194-cpufreq.c
parentcpufreq: tegra194: Add support for Tegra239 (diff)
downloadlinux-f991b117120569838676b9512f6e7d755fdfc12b.tar.gz
linux-f991b117120569838676b9512f6e7d755fdfc12b.tar.bz2
linux-f991b117120569838676b9512f6e7d755fdfc12b.zip
cpufreq: tegra194: change tegra239_cpufreq_soc to static
tegra239_cpufreq_soc is only used in tegra194-cpufreq.c now, change it to static. Fixes: 676886010707 ("cpufreq: tegra194: Add support for Tegra239") Signed-off-by: Yang Yingliang <yangyingliang@huawei.com> Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'drivers/cpufreq/tegra194-cpufreq.c')
-rw-r--r--drivers/cpufreq/tegra194-cpufreq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/cpufreq/tegra194-cpufreq.c b/drivers/cpufreq/tegra194-cpufreq.c
index cfc1b225f811..c2004cae3f02 100644
--- a/drivers/cpufreq/tegra194-cpufreq.c
+++ b/drivers/cpufreq/tegra194-cpufreq.c
@@ -161,7 +161,7 @@ static const struct tegra_cpufreq_soc tegra234_cpufreq_soc = {
.num_clusters = 3,
};
-const struct tegra_cpufreq_soc tegra239_cpufreq_soc = {
+static const struct tegra_cpufreq_soc tegra239_cpufreq_soc = {
.ops = &tegra234_cpufreq_ops,
.actmon_cntr_base = 0x4000,
.maxcpus_per_cluster = 8,