Commit d071b81f authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by Georgi Djakov
Browse files

interconnect: sm8750: Add missing const to static qcom_icc_desc



The statically allocated 'struct qcom_icc_desc' is not modified by the
driver and like all other instances should be const.

Signed-off-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20250109164630.175093-1-krzysztof.kozlowski@linaro.org


Signed-off-by: default avatarGeorgi Djakov <djakov@kernel.org>
parent 5e0db3c2
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1485,7 +1485,7 @@ static struct qcom_icc_node * const cnoc_main_nodes[] = {
	[SLAVE_PCIE_0] = &xs_pcie,
};

static struct qcom_icc_desc sm8750_cnoc_main = {
static const struct qcom_icc_desc sm8750_cnoc_main = {
	.nodes = cnoc_main_nodes,
	.num_nodes = ARRAY_SIZE(cnoc_main_nodes),
	.bcms = cnoc_main_bcms,
@@ -1518,7 +1518,7 @@ static struct qcom_icc_node * const gem_noc_nodes[] = {
	[SLAVE_MEM_NOC_PCIE_SNOC] = &qns_pcie,
};

static struct qcom_icc_desc sm8750_gem_noc = {
static const struct qcom_icc_desc sm8750_gem_noc = {
	.nodes = gem_noc_nodes,
	.num_nodes = ARRAY_SIZE(gem_noc_nodes),
	.bcms = gem_noc_bcms,