Skip to content

Commit a7bea08

Browse files
Yang Yingliangandersson
authored andcommitted
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: e3fdbef ("clk: qcom: Add Global Clock controller (GCC) driver for IPQ5018") Signed-off-by: Yang Yingliang <[email protected]> Reviewed-by: Konrad Dybcio <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Bjorn Andersson <[email protected]>
1 parent 9bc66f9 commit a7bea08

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/clk/qcom/gcc-ipq5018.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -826,7 +826,7 @@ static const struct freq_tbl ftbl_lpass_axim_clk_src[] = {
826826
{ }
827827
};
828828

829-
struct clk_rcg2 lpass_axim_clk_src = {
829+
static struct clk_rcg2 lpass_axim_clk_src = {
830830
.cmd_rcgr = 0x2e028,
831831
.freq_tbl = ftbl_lpass_axim_clk_src,
832832
.hid_width = 5,
@@ -844,7 +844,7 @@ static const struct freq_tbl ftbl_lpass_sway_clk_src[] = {
844844
{ }
845845
};
846846

847-
struct clk_rcg2 lpass_sway_clk_src = {
847+
static struct clk_rcg2 lpass_sway_clk_src = {
848848
.cmd_rcgr = 0x2e040,
849849
.freq_tbl = ftbl_lpass_sway_clk_src,
850850
.hid_width = 5,

0 commit comments

Comments
 (0)