Skip to content

Commit 4a941e4

Browse files
juhosgandersson
authored andcommitted
clk: qcom: apss-ipq-pll: constify clk_init_data structures
The clk_init_data structures are never modified, so add const qualifier to the ones where it is missing. No functional changes. Reviewed-by: Dmitry Baryshkov <[email protected]> Reviewed-by: Konrad Dybcio <[email protected]> Signed-off-by: Gabor Juhos <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Bjorn Andersson <[email protected]>
1 parent 0757034 commit 4a941e4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/clk/qcom/apss-ipq-pll.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ static struct clk_alpha_pll ipq_pll_huayra = {
1515
.clkr = {
1616
.enable_reg = 0x0,
1717
.enable_mask = BIT(0),
18-
.hw.init = &(struct clk_init_data){
18+
.hw.init = &(const struct clk_init_data) {
1919
.name = "a53pll",
2020
.parent_data = &(const struct clk_parent_data) {
2121
.fw_name = "xo",
@@ -55,7 +55,7 @@ static struct clk_alpha_pll ipq_pll_stromer_plus = {
5555
.clkr = {
5656
.enable_reg = 0x0,
5757
.enable_mask = BIT(0),
58-
.hw.init = &(struct clk_init_data){
58+
.hw.init = &(const struct clk_init_data) {
5959
.name = "a53pll",
6060
.parent_data = &(const struct clk_parent_data) {
6161
.fw_name = "xo",

0 commit comments

Comments
 (0)