Skip to content

Commit 0757034

Browse files
juhosgandersson
authored andcommitted
clk: qcom: apss-ipq-pll: constify match data structures
The match data structures are used only by the apss_ipq_pll_probe() function and are never modified so mark those as constant. 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 35a99c6 commit 0757034

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -142,25 +142,25 @@ static const struct apss_pll_data ipq5018_pll_data = {
142142
.pll_config = &ipq5018_pll_config,
143143
};
144144

145-
static struct apss_pll_data ipq5332_pll_data = {
145+
static const struct apss_pll_data ipq5332_pll_data = {
146146
.pll_type = CLK_ALPHA_PLL_TYPE_STROMER_PLUS,
147147
.pll = &ipq_pll_stromer_plus,
148148
.pll_config = &ipq5332_pll_config,
149149
};
150150

151-
static struct apss_pll_data ipq8074_pll_data = {
151+
static const struct apss_pll_data ipq8074_pll_data = {
152152
.pll_type = CLK_ALPHA_PLL_TYPE_HUAYRA,
153153
.pll = &ipq_pll_huayra,
154154
.pll_config = &ipq8074_pll_config,
155155
};
156156

157-
static struct apss_pll_data ipq6018_pll_data = {
157+
static const struct apss_pll_data ipq6018_pll_data = {
158158
.pll_type = CLK_ALPHA_PLL_TYPE_HUAYRA,
159159
.pll = &ipq_pll_huayra,
160160
.pll_config = &ipq6018_pll_config,
161161
};
162162

163-
static struct apss_pll_data ipq9574_pll_data = {
163+
static const struct apss_pll_data ipq9574_pll_data = {
164164
.pll_type = CLK_ALPHA_PLL_TYPE_HUAYRA,
165165
.pll = &ipq_pll_huayra,
166166
.pll_config = &ipq9574_pll_config,

0 commit comments

Comments
 (0)