Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

interconnect: qcom: msm8937: constify pointer to qcom_icc_node

Pointers to struct qcom_icc_node are const.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20240905151636.280065-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Georgi Djakov <djakov@kernel.org>

authored by

Krzysztof Kozlowski and committed by
Georgi Djakov
326b42d8 f874c74d

+4 -4
+4 -4
drivers/interconnect/qcom/msm8937.c
··· 1175 1175 .qos.qos_mode = NOC_QOS_MODE_INVALID, 1176 1176 }; 1177 1177 1178 - static struct qcom_icc_node *msm8937_bimc_nodes[] = { 1178 + static struct qcom_icc_node * const msm8937_bimc_nodes[] = { 1179 1179 [MAS_APPS_PROC] = &mas_apps_proc, 1180 1180 [MAS_OXILI] = &mas_oxili, 1181 1181 [MAS_SNOC_BIMC_0] = &mas_snoc_bimc_0, ··· 1204 1204 .ab_coeff = 154, 1205 1205 }; 1206 1206 1207 - static struct qcom_icc_node *msm8937_pcnoc_nodes[] = { 1207 + static struct qcom_icc_node * const msm8937_pcnoc_nodes[] = { 1208 1208 [MAS_SPDM] = &mas_spdm, 1209 1209 [MAS_BLSP_1] = &mas_blsp_1, 1210 1210 [MAS_BLSP_2] = &mas_blsp_2, ··· 1268 1268 .regmap_cfg = &msm8937_pcnoc_regmap_config, 1269 1269 }; 1270 1270 1271 - static struct qcom_icc_node *msm8937_snoc_nodes[] = { 1271 + static struct qcom_icc_node * const msm8937_snoc_nodes[] = { 1272 1272 [MAS_QDSS_BAM] = &mas_qdss_bam, 1273 1273 [MAS_BIMC_SNOC] = &mas_bimc_snoc, 1274 1274 [MAS_PCNOC_SNOC] = &mas_pcnoc_snoc, ··· 1304 1304 .qos_offset = 0x7000, 1305 1305 }; 1306 1306 1307 - static struct qcom_icc_node *msm8937_snoc_mm_nodes[] = { 1307 + static struct qcom_icc_node * const msm8937_snoc_mm_nodes[] = { 1308 1308 [MAS_JPEG] = &mas_jpeg, 1309 1309 [MAS_MDP] = &mas_mdp, 1310 1310 [MAS_VENUS] = &mas_venus,