Skip to content

Commit d4cb3e7

Browse files
arndbandersson
authored andcommitted
clk: qcom: gcc-qcs404: fix duplicate initializer warning
In one of the clocks, a redundant initialization for .num_parents got left behind by a recent patch: drivers/clk/qcom/gcc-qcs404.c:63:32: error: initialized field overwritten [-Werror=override-init] 63 | .num_parents = 1, | ^ Fixes: 2ce81af ("clk: qcom: gcc-qcs404: sort out the cxo clock") Signed-off-by: Arnd Bergmann <[email protected]> Reviewed-by: Konrad Dybcio <[email protected]> Signed-off-by: Bjorn Andersson <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent 9daaaaa commit d4cb3e7

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

drivers/clk/qcom/gcc-qcs404.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,6 @@ static struct clk_fixed_factor cxo = {
6060
.name = "cxo",
6161
.parent_data = gcc_parent_data_1,
6262
.num_parents = ARRAY_SIZE(gcc_parent_data_1),
63-
.num_parents = 1,
6463
.ops = &clk_fixed_factor_ops,
6564
},
6665
};

0 commit comments

Comments
 (0)