All of lore.kernel.org
 help / color / mirror / Atom feed
From: Yang Yingliang <yangyingliang@huawei.com>
To: <linux-clk@vger.kernel.org>, <linux-arm-msm@vger.kernel.org>
Cc: <konrad.dybcio@linaro.org>, <andersson@kernel.org>,
	<agross@kernel.org>, <mturquette@baylibre.com>,
	<sboyd@kernel.org>, <quic_gokulsri@quicinc.com>,
	<quic_srichara@quicinc.com>, <quic_varada@quicinc.com>,
	<yangyingliang@huawei.com>
Subject: [PATCH -next] clk: qcom: gcc-ipq5018: change some variable static
Date: Wed, 16 Aug 2023 16:01:13 +0800	[thread overview]
Message-ID: <20230816080113.1222352-1-yangyingliang@huawei.com> (raw)

lpass_axim_clk_src and lpass_sway_clk_src are only
used in gcc-ipq5018.c now, change them to static.

Fixes: e3fdbef1bab8 ("clk: qcom: Add Global Clock controller (GCC) driver for IPQ5018")
Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
---
 drivers/clk/qcom/gcc-ipq5018.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/clk/qcom/gcc-ipq5018.c b/drivers/clk/qcom/gcc-ipq5018.c
index 313ff2281ca7..19dc2b71cacf 100644
--- a/drivers/clk/qcom/gcc-ipq5018.c
+++ b/drivers/clk/qcom/gcc-ipq5018.c
@@ -826,7 +826,7 @@ static const struct freq_tbl ftbl_lpass_axim_clk_src[] = {
 	{ }
 };
 
-struct clk_rcg2 lpass_axim_clk_src = {
+static struct clk_rcg2 lpass_axim_clk_src = {
 	.cmd_rcgr = 0x2e028,
 	.freq_tbl = ftbl_lpass_axim_clk_src,
 	.hid_width = 5,
@@ -844,7 +844,7 @@ static const struct freq_tbl ftbl_lpass_sway_clk_src[] = {
 	{ }
 };
 
-struct clk_rcg2 lpass_sway_clk_src = {
+static struct clk_rcg2 lpass_sway_clk_src = {
 	.cmd_rcgr = 0x2e040,
 	.freq_tbl = ftbl_lpass_sway_clk_src,
 	.hid_width = 5,
-- 
2.25.1


             reply	other threads:[~2023-08-16  8:05 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-16  8:01 Yang Yingliang [this message]
2023-08-16 11:42 ` [PATCH -next] clk: qcom: gcc-ipq5018: change some variable static Konrad Dybcio
2023-08-30 20:16 ` Dmitry Baryshkov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230816080113.1222352-1-yangyingliang@huawei.com \
    --to=yangyingliang@huawei.com \
    --cc=agross@kernel.org \
    --cc=andersson@kernel.org \
    --cc=konrad.dybcio@linaro.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-clk@vger.kernel.org \
    --cc=mturquette@baylibre.com \
    --cc=quic_gokulsri@quicinc.com \
    --cc=quic_srichara@quicinc.com \
    --cc=quic_varada@quicinc.com \
    --cc=sboyd@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.