diff options
author | Jason Yan <yanaijie@huawei.com> | 2020-09-21 22:27:50 +0800 |
---|---|---|
committer | Stephen Boyd <sboyd@kernel.org> | 2020-09-22 11:34:33 -0700 |
commit | a9e545ac63c25ab84e7a546008585685dbbf994f (patch) | |
tree | c8558a9e88d918800b5e09b3df5417b4d7b4eeec /drivers/clk/qcom | |
parent | 9123e3a74ec7b934a4a099e98af6a61c2f80bbf5 (diff) |
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')
-rw-r--r-- | drivers/clk/qcom/gcc-ipq8074.c | 2 |
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, |