]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
interconnect: qcom: sc8180x: constify pointer to qcom_icc_node
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Thu, 27 Oct 2022 15:48:48 +0000 (11:48 -0400)
committerGeorgi Djakov <djakov@kernel.org>
Thu, 17 Nov 2022 15:39:50 +0000 (17:39 +0200)
Pointers to struct qcom_icc_node are const.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20221027154848.293523-3-krzysztof.kozlowski@linaro.org
Signed-off-by: Georgi Djakov <djakov@kernel.org>
drivers/interconnect/qcom/sc8180x.c

index 8e32ca958824c70e6e15c1e140be7488fa068a98..0f515bf10bd71e4b9e3a62580c8ed85d82561bfb 100644 (file)
@@ -1889,7 +1889,7 @@ static struct qcom_icc_bcm * const qup_virt_bcms[] = {
        &bcm_qup0,
 };
 
-static struct qcom_icc_node *qup_virt_nodes[] = {
+static struct qcom_icc_node * const qup_virt_nodes[] = {
        [MASTER_QUP_CORE_0] = &mas_qup_core_0,
        [MASTER_QUP_CORE_1] = &mas_qup_core_1,
        [MASTER_QUP_CORE_2] = &mas_qup_core_2,