]> git.baikalelectronics.ru Git - kernel.git/commit
clk: qcom: msm8996: Make symbol 'cpu_msm8996_clks' static
authorWei Yongjun <weiyongjun1@huawei.com>
Tue, 14 Jul 2020 14:21:55 +0000 (22:21 +0800)
committerStephen Boyd <sboyd@kernel.org>
Tue, 21 Jul 2020 00:40:18 +0000 (17:40 -0700)
commit3306fc921f167d744d8826e2ca4c4c756a17f109
tree0b10cbac4a7e7a130906e95f74125f9fb9b3cb09
parent7f6ed77b738ddd0678232e89084d8a72a6f49a2a
clk: qcom: msm8996: Make symbol 'cpu_msm8996_clks' static

The sparse tool complains as follows:

drivers/clk/qcom/clk-cpu-8996.c:341:19: warning:
 symbol 'cpu_msm8996_clks' was not declared. Should it be static?

This variable is not used outside of clk-cpu-8996.c, so this commit
marks it static.

Fixes: 784b80f459e2 ("clk: qcom: Add CPU clock driver for msm8996")
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Link: https://lore.kernel.org/r/20200714142155.35085-1-weiyongjun1@huawei.com
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/qcom/clk-cpu-8996.c