Skip to content

Commit 326b42d

Browse files
krzkGeorgi Djakov
authored andcommitted
interconnect: qcom: msm8937: constify pointer to qcom_icc_node
Pointers to struct qcom_icc_node are const. Signed-off-by: Krzysztof Kozlowski <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Georgi Djakov <[email protected]>
1 parent f874c74 commit 326b42d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

drivers/interconnect/qcom/msm8937.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1175,7 +1175,7 @@ static struct qcom_icc_node slv_lpass = {
11751175
.qos.qos_mode = NOC_QOS_MODE_INVALID,
11761176
};
11771177

1178-
static struct qcom_icc_node *msm8937_bimc_nodes[] = {
1178+
static struct qcom_icc_node * const msm8937_bimc_nodes[] = {
11791179
[MAS_APPS_PROC] = &mas_apps_proc,
11801180
[MAS_OXILI] = &mas_oxili,
11811181
[MAS_SNOC_BIMC_0] = &mas_snoc_bimc_0,
@@ -1204,7 +1204,7 @@ static const struct qcom_icc_desc msm8937_bimc = {
12041204
.ab_coeff = 154,
12051205
};
12061206

1207-
static struct qcom_icc_node *msm8937_pcnoc_nodes[] = {
1207+
static struct qcom_icc_node * const msm8937_pcnoc_nodes[] = {
12081208
[MAS_SPDM] = &mas_spdm,
12091209
[MAS_BLSP_1] = &mas_blsp_1,
12101210
[MAS_BLSP_2] = &mas_blsp_2,
@@ -1268,7 +1268,7 @@ static const struct qcom_icc_desc msm8937_pcnoc = {
12681268
.regmap_cfg = &msm8937_pcnoc_regmap_config,
12691269
};
12701270

1271-
static struct qcom_icc_node *msm8937_snoc_nodes[] = {
1271+
static struct qcom_icc_node * const msm8937_snoc_nodes[] = {
12721272
[MAS_QDSS_BAM] = &mas_qdss_bam,
12731273
[MAS_BIMC_SNOC] = &mas_bimc_snoc,
12741274
[MAS_PCNOC_SNOC] = &mas_pcnoc_snoc,
@@ -1304,7 +1304,7 @@ static const struct qcom_icc_desc msm8937_snoc = {
13041304
.qos_offset = 0x7000,
13051305
};
13061306

1307-
static struct qcom_icc_node *msm8937_snoc_mm_nodes[] = {
1307+
static struct qcom_icc_node * const msm8937_snoc_mm_nodes[] = {
13081308
[MAS_JPEG] = &mas_jpeg,
13091309
[MAS_MDP] = &mas_mdp,
13101310
[MAS_VENUS] = &mas_venus,

0 commit comments

Comments
 (0)