summaryrefslogtreecommitdiffstats
path: root/drivers/clk/qcom/gcc-ipq8074.c
diff options
context:
space:
mode:
authorJason Yan <yanaijie@huawei.com>2020-09-21 16:27:50 +0200
committerStephen Boyd <sboyd@kernel.org>2020-09-22 20:34:33 +0200
commita9e545ac63c25ab84e7a546008585685dbbf994f (patch)
treec8558a9e88d918800b5e09b3df5417b4d7b4eeec /drivers/clk/qcom/gcc-ipq8074.c
parentLinux 5.9-rc1 (diff)
downloadlinux-a9e545ac63c25ab84e7a546008585685dbbf994f.tar.xz
linux-a9e545ac63c25ab84e7a546008585685dbbf994f.zip
clk: qcom: ipq8074: make pcie0_rchng_clk_src static
This addresses the following sparse warning: drivers/clk/qcom/gcc-ipq8074.c:4325:17: warning: symbol 'pcie0_rchng_clk_src' was not declared. Should it be static? Reported-by: Hulk Robot <hulkci@huawei.com> Signed-off-by: Jason Yan <yanaijie@huawei.com> Link: https://lore.kernel.org/r/20200921142750.875142-1-yanaijie@huawei.com Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'drivers/clk/qcom/gcc-ipq8074.c')
-rw-r--r--drivers/clk/qcom/gcc-ipq8074.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/qcom/gcc-ipq8074.c b/drivers/clk/qcom/gcc-ipq8074.c
index ef2c9c4cf9ab..108fe27bee10 100644
--- a/drivers/clk/qcom/gcc-ipq8074.c
+++ b/drivers/clk/qcom/gcc-ipq8074.c
@@ -4322,7 +4322,7 @@ static const struct freq_tbl ftbl_pcie_rchng_clk_src[] = {
{ }
};
-struct clk_rcg2 pcie0_rchng_clk_src = {
+static struct clk_rcg2 pcie0_rchng_clk_src = {
.cmd_rcgr = 0x75070,
.freq_tbl = ftbl_pcie_rchng_clk_src,
.hid_width = 5,