mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-01-08 04:12:52 -05:00
clk: qcom: gcc-ipq5018: change some variable static
lpass_axim_clk_src and lpass_sway_clk_src are only
used in gcc-ipq5018.c now, change them to static.
Fixes: e3fdbef1ba ("clk: qcom: Add Global Clock controller (GCC) driver for IPQ5018")
Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Link: https://lore.kernel.org/r/20230816080113.1222352-1-yangyingliang@huawei.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
This commit is contained in:
committed by
Bjorn Andersson
parent
9bc66f9739
commit
a7bea084fb
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user