Commit 30ac9f35 authored by Dmitry Baryshkov's avatar Dmitry Baryshkov Committed by Bjorn Andersson

clk: qcom: gpucc-sdm660: fix two clocks with parent_names

Two clocks are still using parent_names, use parent_hws instead.
Signed-off-by: default avatarDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: default avatarMarijn Suijten <marijn.suijten@somainline.org>
Signed-off-by: default avatarBjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20211228045415.20543-2-dmitry.baryshkov@linaro.org
parent cc517ea3
...@@ -204,8 +204,8 @@ static struct clk_branch gpucc_rbbmtimer_clk = { ...@@ -204,8 +204,8 @@ static struct clk_branch gpucc_rbbmtimer_clk = {
.enable_mask = BIT(0), .enable_mask = BIT(0),
.hw.init = &(struct clk_init_data){ .hw.init = &(struct clk_init_data){
.name = "gpucc_rbbmtimer_clk", .name = "gpucc_rbbmtimer_clk",
.parent_names = (const char *[]){ .parent_hws = (const struct clk_hw*[]){
"rbbmtimer_clk_src", &rbbmtimer_clk_src.clkr.hw,
}, },
.num_parents = 1, .num_parents = 1,
.flags = CLK_SET_RATE_PARENT, .flags = CLK_SET_RATE_PARENT,
...@@ -222,8 +222,8 @@ static struct clk_branch gpucc_rbcpr_clk = { ...@@ -222,8 +222,8 @@ static struct clk_branch gpucc_rbcpr_clk = {
.enable_mask = BIT(0), .enable_mask = BIT(0),
.hw.init = &(struct clk_init_data){ .hw.init = &(struct clk_init_data){
.name = "gpucc_rbcpr_clk", .name = "gpucc_rbcpr_clk",
.parent_names = (const char *[]){ .parent_hws = (const struct clk_hw*[]){
"rbcpr_clk_src", &rbcpr_clk_src.clkr.hw,
}, },
.num_parents = 1, .num_parents = 1,
.flags = CLK_SET_RATE_PARENT, .flags = CLK_SET_RATE_PARENT,
......
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