Commit 8607fa16 authored by Wei Yongjun's avatar Wei Yongjun Committed by Stephen Boyd

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: 03e342dc ("clk: qcom: Add CPU clock driver for msm8996")
Reported-by: default avatarHulk Robot <hulkci@huawei.com>
Signed-off-by: default avatarWei Yongjun <weiyongjun1@huawei.com>
Link: https://lore.kernel.org/r/20200714142155.35085-1-weiyongjun1@huawei.comSigned-off-by: default avatarStephen Boyd <sboyd@kernel.org>
parent 044f507d
...@@ -338,7 +338,7 @@ static const struct regmap_config cpu_msm8996_regmap_config = { ...@@ -338,7 +338,7 @@ static const struct regmap_config cpu_msm8996_regmap_config = {
.val_format_endian = REGMAP_ENDIAN_LITTLE, .val_format_endian = REGMAP_ENDIAN_LITTLE,
}; };
struct clk_regmap *cpu_msm8996_clks[] = { static struct clk_regmap *cpu_msm8996_clks[] = {
&perfcl_pll.clkr, &perfcl_pll.clkr,
&pwrcl_pll.clkr, &pwrcl_pll.clkr,
&perfcl_alt_pll.clkr, &perfcl_alt_pll.clkr,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment