Commit 4a941e43 authored by Gabor Juhos's avatar Gabor Juhos Committed by Bjorn Andersson

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: default avatarDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: default avatarKonrad Dybcio <konrad.dybcio@linaro.org>
Signed-off-by: default avatarGabor Juhos <j4g8y7@gmail.com>
Link: https://lore.kernel.org/r/20240328-apss-ipq-pll-cleanup-v4-4-eddbf617f0c8@gmail.comSigned-off-by: default avatarBjorn Andersson <andersson@kernel.org>
parent 07570342
......@@ -15,7 +15,7 @@ static struct clk_alpha_pll ipq_pll_huayra = {
.clkr = {
.enable_reg = 0x0,
.enable_mask = BIT(0),
.hw.init = &(struct clk_init_data){
.hw.init = &(const struct clk_init_data) {
.name = "a53pll",
.parent_data = &(const struct clk_parent_data) {
.fw_name = "xo",
......@@ -55,7 +55,7 @@ static struct clk_alpha_pll ipq_pll_stromer_plus = {
.clkr = {
.enable_reg = 0x0,
.enable_mask = BIT(0),
.hw.init = &(struct clk_init_data){
.hw.init = &(const struct clk_init_data) {
.name = "a53pll",
.parent_data = &(const struct clk_parent_data) {
.fw_name = "xo",
......
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