diff mbox series

[3/3] interconnect: qcom: sc8180x: constify pointer to qcom_icc_node

Message ID 20221027154848.293523-3-krzysztof.kozlowski@linaro.org
State Accepted
Commit c1c537cf30bc539d8f6fa4ac315a8def23fd4ae8
Headers show
Series [1/3] interconnect: qcom: sc7180: fix dropped const of qcom_icc_bcm | expand

Commit Message

Krzysztof Kozlowski Oct. 27, 2022, 3:48 p.m. UTC
Pointers to struct qcom_icc_node are const.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 drivers/interconnect/qcom/sc8180x.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/drivers/interconnect/qcom/sc8180x.c b/drivers/interconnect/qcom/sc8180x.c
index 8e32ca958824..0f515bf10bd7 100644
--- a/drivers/interconnect/qcom/sc8180x.c
+++ b/drivers/interconnect/qcom/sc8180x.c
@@ -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,