* [PATCH -next] cpufreq: tegra194: change tegra239_cpufreq_soc to static
@ 2022-09-23 14:50 Yang Yingliang
2022-09-26 5:43 ` Viresh Kumar
0 siblings, 1 reply; 2+ messages in thread
From: Yang Yingliang @ 2022-09-23 14:50 UTC (permalink / raw)
To: linux-pm, linux-tegra; +Cc: viresh.kumar, sumitg, yangyingliang
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>
---
drivers/cpufreq/tegra194-cpufreq.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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,
--
2.25.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH -next] cpufreq: tegra194: change tegra239_cpufreq_soc to static
2022-09-23 14:50 [PATCH -next] cpufreq: tegra194: change tegra239_cpufreq_soc to static Yang Yingliang
@ 2022-09-26 5:43 ` Viresh Kumar
0 siblings, 0 replies; 2+ messages in thread
From: Viresh Kumar @ 2022-09-26 5:43 UTC (permalink / raw)
To: Yang Yingliang; +Cc: linux-pm, linux-tegra, sumitg
On 23-09-22, 22:50, Yang Yingliang wrote:
> 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>
> ---
> drivers/cpufreq/tegra194-cpufreq.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> 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,
Applied. Thanks.
--
viresh
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-09-26 5:43 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-23 14:50 [PATCH -next] cpufreq: tegra194: change tegra239_cpufreq_soc to static Yang Yingliang
2022-09-26 5:43 ` Viresh Kumar
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.