Skip to content

Commit 8607fa1

Browse files
Wei Yongjunbebarino
authored andcommitted
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: 03e342d ("clk: qcom: Add CPU clock driver for msm8996") Reported-by: Hulk Robot <[email protected]> Signed-off-by: Wei Yongjun <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Stephen Boyd <[email protected]>
1 parent 044f507 commit 8607fa1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/clk/qcom/clk-cpu-8996.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,7 @@ static const struct regmap_config cpu_msm8996_regmap_config = {
338338
.val_format_endian = REGMAP_ENDIAN_LITTLE,
339339
};
340340

341-
struct clk_regmap *cpu_msm8996_clks[] = {
341+
static struct clk_regmap *cpu_msm8996_clks[] = {
342342
&perfcl_pll.clkr,
343343
&pwrcl_pll.clkr,
344344
&perfcl_alt_pll.clkr,

0 commit comments

Comments
 (0)