diff options
author | Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> | 2024-02-08 13:50:51 +0300 |
---|---|---|
committer | Georgi Djakov <djakov@kernel.org> | 2024-02-11 23:37:29 +0300 |
commit | 5f1b39718d38276d7e4c65282dae480f6b2e1976 (patch) | |
tree | 85d0891fddbd92dd683abe6e21a72f8d1f63e5a9 /drivers/interconnect/qcom | |
parent | 1cef9f2d1ef8ccdf7414a39e054852b66376b631 (diff) | |
download | linux-5f1b39718d38276d7e4c65282dae480f6b2e1976.tar.xz |
interconnect: qcom: msm8909: constify pointer to qcom_icc_node
Pointers to struct qcom_icc_node are const.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Andrew Halaney <ahalaney@redhat.com>
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Link: https://lore.kernel.org/r/20240208105056.128448-2-krzysztof.kozlowski@linaro.org
Signed-off-by: Georgi Djakov <djakov@kernel.org>
Diffstat (limited to 'drivers/interconnect/qcom')
-rw-r--r-- | drivers/interconnect/qcom/msm8909.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/interconnect/qcom/msm8909.c b/drivers/interconnect/qcom/msm8909.c index 23b1a818d774..0d0cd7282f5b 100644 --- a/drivers/interconnect/qcom/msm8909.c +++ b/drivers/interconnect/qcom/msm8909.c @@ -1167,7 +1167,7 @@ static struct qcom_icc_node slv_cats_1 = { .qos.qos_mode = NOC_QOS_MODE_INVALID, }; -static struct qcom_icc_node *msm8909_bimc_nodes[] = { +static struct qcom_icc_node * const msm8909_bimc_nodes[] = { [MAS_APPS_PROC] = &mas_apps_proc, [MAS_OXILI] = &mas_oxili, [MAS_SNOC_BIMC_0] = &mas_snoc_bimc_0, @@ -1196,7 +1196,7 @@ static const struct qcom_icc_desc msm8909_bimc = { .ab_coeff = 154, }; -static struct qcom_icc_node *msm8909_pcnoc_nodes[] = { +static struct qcom_icc_node * const msm8909_pcnoc_nodes[] = { [MAS_AUDIO] = &mas_audio, [MAS_SPDM] = &mas_spdm, [MAS_DEHR] = &mas_dehr, @@ -1263,7 +1263,7 @@ static const struct qcom_icc_desc msm8909_pcnoc = { .qos_offset = 0x7000, }; -static struct qcom_icc_node *msm8909_snoc_nodes[] = { +static struct qcom_icc_node * const msm8909_snoc_nodes[] = { [MAS_QDSS_BAM] = &mas_qdss_bam, [MAS_BIMC_SNOC] = &mas_bimc_snoc, [MAS_MDP] = &mas_mdp, |