From nobody Tue Feb 10 08:26:46 2026 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4F88118DB37 for ; Fri, 31 Oct 2025 14:45:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.168.131 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761921942; cv=none; b=otPCdrT5Utv9kZA13GCsykVoQSP0pUqj8A4oODdzjY4mRXV3u3XErJzu6GEMGvGpFYoou56RCNfTRk7UYPKtQCkhuVWyHZUQfpnlYpimJ1L90Lu4rKTf02sXmWwBqy6NkDbobHw8I5z958pPFRUxoxOWD+qkayA+9uaUpedknV8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761921942; c=relaxed/simple; bh=qjRjUFcnZwLFG2LtBHEZ5yutnofEqlCGZTRfln3GIn4=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=S07UAFzN3x/NqcHePpAbE85Wf9N60efnXflDoptE63olkfcahxw2uL7xX1pBPf2uDCCZYPRnBCObHJjsDrDMpsimOkRZ2UosOi9ergAL7yQ5J7zZlpxSULBuhblLbupXerUWeL2/E9eQGM0eEkXifVXPgcSQjInfraEWRwz+hzk= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com; spf=pass smtp.mailfrom=oss.qualcomm.com; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b=Rs64Oc4J; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=eItHuI5+; arc=none smtp.client-ip=205.220.168.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b="Rs64Oc4J"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="eItHuI5+" Received: from pps.filterd (m0279863.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 59V73IKm2058369 for ; Fri, 31 Oct 2025 14:45:35 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= mrEBbofqL82NxnXEolJ2r+yqGT0aObTM7wn72YYU4wA=; b=Rs64Oc4JtjXs4vCS cwHVgfVYoBo5wg9CZsSr0Al7dQghDp9DCqH3AuWJ2TkLco7oTxmGjP9g82ngkQMI BYg6ZG6fmAUHXY3Gc9lH9E6xewr9w/88L6a/CWWEnqmpFnimrT0enrKWQDOevdlc BpVhW27j2Jq7+6vbre7qX0f0pE9Mq2eX177S9011vVywhVmxRfCXMI35EVCC91JA MPaiDc1uckdBxXS6RRIumWqKdGKwCWkP62zjudaw59DdA9NKrkdAt5SfUQQzwjG3 L/rkTHHZWGuD3knbLIhJ2lAdIvHLjWPaWFGWME1/3+FEI5WAfDXLXs9dVORUYWI/ X6YgXg== Received: from mail-qt1-f200.google.com (mail-qt1-f200.google.com [209.85.160.200]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4a4rcvh7dy-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Fri, 31 Oct 2025 14:45:35 +0000 (GMT) Received: by mail-qt1-f200.google.com with SMTP id d75a77b69052e-4e88a5e70a7so69043501cf.1 for ; Fri, 31 Oct 2025 07:45:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1761921934; x=1762526734; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=mrEBbofqL82NxnXEolJ2r+yqGT0aObTM7wn72YYU4wA=; b=eItHuI5+sVYdw5INM1QywJR+9o7LbfDYVmyB3cUoGAjRli7aqYbSyu4Uf74BnwWQu2 xJmxhYFkyeydcKnyWrA7YIAtLt9ej2hIPcvU6xxSUu2NJ6nEHYIum+5DccF92sX7mxQI +Ci7L3gowmOcwEr31xgSDUnfqf5mr7UUiDd2PNKMTOzDUMY+dWquMj0GZUfvP4nZeg2V +ico1QqfuPF0NpXP69c4ecmR0xcRWGqIO1xzQjBkCB/ddTzJ2raxgKUwsq5lb/xpLSf9 dwzzRhZ+LC6l0/JhFXZVXbNK0v+1iB6VybSnU+QQsFQejoUXgCOlL1kPiGD/Gs/5mOKq cRpQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1761921934; x=1762526734; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=mrEBbofqL82NxnXEolJ2r+yqGT0aObTM7wn72YYU4wA=; b=ezMhPDp4xEWDvH8yy/sOp+ii0MQXvNDjqF+7d8vv1T9nkO3seOloRWPfIyc06EGv1N bUwtXhNI+pHRXC6hUvRxz83or0JAWNXXDZZNcULuAIpgqdfA26yXnSx+wQOv+Rv2QKji xI8eBp68RJZlo7hsTMnF9fd4a+axOI7GjdRssl9F3sZQQylMmM9sIYasOi3cd/MZpCZb nqq+4g9hLm+N0kDse/XQ0O8zgQvDG6vizZX5DEOldzy/dL+a2Pee9Von6qB1q3/NSqCV gQUGcyeuP4laJTNsD7DpBgerrhfppYBNVuBC4Si/ue1DgrmovyhLMXPUh3DI9Wtf4LWa 7zaw== X-Forwarded-Encrypted: i=1; AJvYcCWbJFAl/4gBvug4BVNhDHbZk5gjaPVVxcVUXZxAPvZrb9o7DSs9F3pp3s73Iz8zZrOHbu4kodXBZ1jpJRo=@vger.kernel.org X-Gm-Message-State: AOJu0YwQsJZ0lS30WcYvEPifTMeJ8eDv3XgOkr7J75K8dodEFQajJPiO Fh73qyKl2Oa2W8FVLB7kPQ6Nnffw/eM84KhWdYU7kG2T8o3niQItE3p/SjiWbI2ZjIZ05T7v8zG 0LUQPrhXVty7Fig9oeifaBpFiUAAx/lbFbCiBMta0SF+AAiO2Aq0zZs2ADKTpzPDfJ9Y= X-Gm-Gg: ASbGnctHf1QO1GO4zJ77dX+5DumXnMHwU4oN+eDP30cqLGvfnSbY/kk3S2OIMAjBPay naqkEE8XMUV/SQGFs1LDvVTULwG6hFP9i4aFxjOYyB4HM5+ms15k/BTaHikpjCnP1aMoWpshkDe 6bTIBzi+YPlf0Vk4cV272JzPxt2DpRquBlCO4uQpDBqtKvEvZELPi1/Ftwf2NnGTPHx1JrmADdv dZ4aBmmxU7fkAAfxszydfiuS17XkO+bzT0v/gHZGdADNcshQe/0mxa2eQj432CmC5EIQy6006gd pfd3bB4twokkDD1HsF3suIJYwQo/ga7hkU2UYUtSuOSb/XVFcYnrTJsObuS8inQ9ZwnNpJPB58n NKqpSu8e+Q9/fr4qoHTVQHIyDrg4dLM62/tOBShyF1cspIUKeoTv0lx6yy59lnpMoLqX0ITn1lS Zjh5yuKG0zfSbQ X-Received: by 2002:ac8:5984:0:b0:4eb:a2ec:6e3e with SMTP id d75a77b69052e-4ed218c6279mr100875451cf.28.1761921932961; Fri, 31 Oct 2025 07:45:32 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGose1TAhx2YbAZJXqYkqSLPH83hxlQa7bmQuo0gQV1cndR7BbrUoInlvPA19tSuI34ZqhWlg== X-Received: by 2002:ac8:5984:0:b0:4eb:a2ec:6e3e with SMTP id d75a77b69052e-4ed218c6279mr100874021cf.28.1761921931840; Fri, 31 Oct 2025 07:45:31 -0700 (PDT) Received: from umbar.lan (2001-14ba-a0c3-3a00-264b-feff-fe8b-be8a.rev.dnainternet.fi. [2001:14ba:a0c3:3a00:264b:feff:fe8b:be8a]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-5941f5bc218sm541405e87.93.2025.10.31.07.45.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 31 Oct 2025 07:45:30 -0700 (PDT) From: Dmitry Baryshkov Date: Fri, 31 Oct 2025 16:45:17 +0200 Subject: [PATCH v3 01/25] interconnect: qcom: icc-rpmh: convert link_nodes to dynamic array Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20251031-rework-icc-v3-1-0575304c9624@oss.qualcomm.com> References: <20251031-rework-icc-v3-0-0575304c9624@oss.qualcomm.com> In-Reply-To: <20251031-rework-icc-v3-0-0575304c9624@oss.qualcomm.com> To: Georgi Djakov , Bjorn Andersson Cc: linux-arm-msm@vger.kernel.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=76790; i=dmitry.baryshkov@oss.qualcomm.com; h=from:subject:message-id; bh=qjRjUFcnZwLFG2LtBHEZ5yutnofEqlCGZTRfln3GIn4=; b=owEBbQGS/pANAwAKAYs8ij4CKSjVAcsmYgBpBMuAGnXMli/zaZzfGJlwIB+GKKD1YOMx+jxB+ iP7NtK+5z+JATMEAAEKAB0WIQRMcISVXLJjVvC4lX+LPIo+Aiko1QUCaQTLgAAKCRCLPIo+Aiko 1a4yCACBX9S47oEA1H7Uhk4igdqxwtJ65ROYWBc3hGOSmLs4dQqgzMVsLeRU1QhymoEW3MlCg+w QpA10wURlg7JifB8j/JDOfvGkdfF3L6gj4IaHIePC6maPQPhq4SWFrlOLP8GYB7agI6ueSxxTsC YJBR+Jrwmsz+JRaVIHZPQcCBL/WQiL3QMqGcCb6LqJJ8KabBYPT2QKG9oxPiMcI5Cd37cbUQjmu tL7awxjRQR09DX27cjSIYn61AqHvCow8rTIgDCwVUA5kncmRYONjCPwysm+hCxyHfotXJl9MOAJ sji/43nbkf4dxrWJgOllwAebiMKV2T2n/J7tcnWkS+BtIYbd X-Developer-Key: i=dmitry.baryshkov@oss.qualcomm.com; a=openpgp; fpr=8F88381DD5C873E4AE487DA5199BF1243632046A X-Authority-Analysis: v=2.4 cv=bJYb4f+Z c=1 sm=1 tr=0 ts=6904cb8f cx=c_pps a=JbAStetqSzwMeJznSMzCyw==:117 a=xqWC_Br6kY4A:10 a=IkcTkHD0fZMA:10 a=x6icFKpwvdMA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=EUspDBNiAAAA:8 a=zCA6ciPUE3KIEvnuGmwA:9 a=QEXdDO2ut3YA:10 a=uxP6HrT_eTzRwkO_Te1X:22 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjUxMDMxMDEzMyBTYWx0ZWRfX5d47isTaZ1bm iSqlXcmS07ScmFEq7P+IeB8WX6de5cMZcfi+dtDGujMV6creSfU3a1mfL3dobProzouJtUtMuGh bmATBdsG5ge/7Qm2dLmNwJwPDlNWx97CjxgMq/UfoHLw0uhhtxZa7xmzFIe+gwbPDMYa7CsB/mk L/bfu+UYWkCOt6IaSsrw8wqZLZyRuSRZAiUuSgPwBBQ9NWuDV9c0b9Ft7lwbiXSXOhnNjvpFIu/ lhp5fE97Y7zWmONBQ8aod2Arue0d5A0RZiLlnW5vAYUXOapKIDTJplKRKBkJ0j1UDgrEzrAMVC1 6Pb2rCSbMwXsa8MZ0l8wipwIrAm5n5G1SYNQ3v7A0bt4lpREW+XPjU0gltM8iZK4BmZYz9Y8BIO gmJTCMW1HykMCiWcb2BYNM6tXIHPyw== X-Proofpoint-ORIG-GUID: 7LkVtiO2bCTTqzOJ2MVS7Pgb-qidx8O2 X-Proofpoint-GUID: 7LkVtiO2bCTTqzOJ2MVS7Pgb-qidx8O2 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1121,Hydra:6.1.9,FMLib:17.12.100.49 definitions=2025-10-31_04,2025-10-29_03,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 bulkscore=0 impostorscore=0 phishscore=0 malwarescore=0 spamscore=0 suspectscore=0 priorityscore=1501 adultscore=0 clxscore=1015 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2510240001 definitions=main-2510310133 Declaring link_nodes as a double-pointer results in a syntax sugar in the interconnect driver to typecast the array. Change the type of link_nodes field to the array to remove the need for the extra typecast. Signed-off-by: Dmitry Baryshkov --- drivers/interconnect/qcom/glymur.c | 204 +++++++++++++++++--------------= ---- drivers/interconnect/qcom/icc-rpmh.h | 2 +- drivers/interconnect/qcom/milos.c | 130 +++++++++++----------- drivers/interconnect/qcom/sa8775p.c | 186 ++++++++++++++++---------------- 4 files changed, 261 insertions(+), 261 deletions(-) diff --git a/drivers/interconnect/qcom/glymur.c b/drivers/interconnect/qcom= /glymur.c index cf20b5752dbbf4a5e7a79926910993445d7cbb4f..104ac6c1bd3665de92e15d577cb= 51111289c794a 100644 --- a/drivers/interconnect/qcom/glymur.c +++ b/drivers/interconnect/qcom/glymur.c @@ -457,7 +457,7 @@ static struct qcom_icc_node qup0_core_master =3D { .channels =3D 1, .buswidth =3D 4, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qup0_core_slave }, + .link_nodes =3D { &qup0_core_slave }, }; =20 static struct qcom_icc_node qup1_core_master =3D { @@ -465,7 +465,7 @@ static struct qcom_icc_node qup1_core_master =3D { .channels =3D 1, .buswidth =3D 4, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qup1_core_slave }, + .link_nodes =3D { &qup1_core_slave }, }; =20 static struct qcom_icc_node qup2_core_master =3D { @@ -473,7 +473,7 @@ static struct qcom_icc_node qup2_core_master =3D { .channels =3D 1, .buswidth =3D 4, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qup2_core_slave }, + .link_nodes =3D { &qup2_core_slave }, }; =20 static struct qcom_icc_node llcc_mc =3D { @@ -481,7 +481,7 @@ static struct qcom_icc_node llcc_mc =3D { .channels =3D 12, .buswidth =3D 4, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &ebi }, + .link_nodes =3D { &ebi }, }; =20 static struct qcom_icc_node qsm_mnoc_cfg =3D { @@ -489,7 +489,7 @@ static struct qcom_icc_node qsm_mnoc_cfg =3D { .channels =3D 1, .buswidth =3D 4, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &srvc_mnoc }, + .link_nodes =3D { &srvc_mnoc }, }; =20 static struct qcom_icc_node qsm_pcie_east_anoc_cfg =3D { @@ -497,7 +497,7 @@ static struct qcom_icc_node qsm_pcie_east_anoc_cfg =3D { .channels =3D 1, .buswidth =3D 4, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &srvc_pcie_east_aggre_noc }, + .link_nodes =3D { &srvc_pcie_east_aggre_noc }, }; =20 static struct qcom_icc_node qnm_hscnoc_pcie_east =3D { @@ -505,7 +505,7 @@ static struct qcom_icc_node qnm_hscnoc_pcie_east =3D { .channels =3D 1, .buswidth =3D 32, .num_links =3D 3, - .link_nodes =3D (struct qcom_icc_node *[]) { &xs_pcie_0, &xs_pcie_1, + .link_nodes =3D { &xs_pcie_0, &xs_pcie_1, &xs_pcie_5 }, }; =20 @@ -514,7 +514,7 @@ static struct qcom_icc_node qsm_cnoc_pcie_east_slave_cf= g =3D { .channels =3D 1, .buswidth =3D 4, .num_links =3D 2, - .link_nodes =3D (struct qcom_icc_node *[]) { &qhs_hscnoc_pcie_east_ms_mpu= _cfg, + .link_nodes =3D { &qhs_hscnoc_pcie_east_ms_mpu_cfg, &srvc_pcie_east }, }; =20 @@ -523,7 +523,7 @@ static struct qcom_icc_node qsm_pcie_west_anoc_cfg =3D { .channels =3D 1, .buswidth =3D 4, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &srvc_pcie_west_aggre_noc }, + .link_nodes =3D { &srvc_pcie_west_aggre_noc }, }; =20 static struct qcom_icc_node qnm_hscnoc_pcie_west =3D { @@ -531,7 +531,7 @@ static struct qcom_icc_node qnm_hscnoc_pcie_west =3D { .channels =3D 1, .buswidth =3D 32, .num_links =3D 5, - .link_nodes =3D (struct qcom_icc_node *[]) { &xs_pcie_2, &xs_pcie_3a, + .link_nodes =3D { &xs_pcie_2, &xs_pcie_3a, &xs_pcie_3b, &xs_pcie_4, &xs_pcie_6 }, }; @@ -541,7 +541,7 @@ static struct qcom_icc_node qsm_cnoc_pcie_west_slave_cf= g =3D { .channels =3D 1, .buswidth =3D 4, .num_links =3D 2, - .link_nodes =3D (struct qcom_icc_node *[]) { &qhs_hscnoc_pcie_west_ms_mpu= _cfg, + .link_nodes =3D { &qhs_hscnoc_pcie_west_ms_mpu_cfg, &srvc_pcie_west }, }; =20 @@ -550,7 +550,7 @@ static struct qcom_icc_node qss_cnoc_pcie_slave_east_cf= g =3D { .channels =3D 1, .buswidth =3D 4, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qsm_cnoc_pcie_east_slave_cf= g }, + .link_nodes =3D { &qsm_cnoc_pcie_east_slave_cfg }, }; =20 static struct qcom_icc_node qss_cnoc_pcie_slave_west_cfg =3D { @@ -558,7 +558,7 @@ static struct qcom_icc_node qss_cnoc_pcie_slave_west_cf= g =3D { .channels =3D 1, .buswidth =3D 4, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qsm_cnoc_pcie_west_slave_cf= g }, + .link_nodes =3D { &qsm_cnoc_pcie_west_slave_cfg }, }; =20 static struct qcom_icc_node qss_mnoc_cfg =3D { @@ -566,7 +566,7 @@ static struct qcom_icc_node qss_mnoc_cfg =3D { .channels =3D 1, .buswidth =3D 4, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qsm_mnoc_cfg }, + .link_nodes =3D { &qsm_mnoc_cfg }, }; =20 static struct qcom_icc_node qss_pcie_east_anoc_cfg =3D { @@ -574,7 +574,7 @@ static struct qcom_icc_node qss_pcie_east_anoc_cfg =3D { .channels =3D 1, .buswidth =3D 4, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qsm_pcie_east_anoc_cfg }, + .link_nodes =3D { &qsm_pcie_east_anoc_cfg }, }; =20 static struct qcom_icc_node qss_pcie_west_anoc_cfg =3D { @@ -582,7 +582,7 @@ static struct qcom_icc_node qss_pcie_west_anoc_cfg =3D { .channels =3D 1, .buswidth =3D 4, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qsm_pcie_west_anoc_cfg }, + .link_nodes =3D { &qsm_pcie_west_anoc_cfg }, }; =20 static struct qcom_icc_node qns_llcc =3D { @@ -590,7 +590,7 @@ static struct qcom_icc_node qns_llcc =3D { .channels =3D 12, .buswidth =3D 16, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &llcc_mc }, + .link_nodes =3D { &llcc_mc }, }; =20 static struct qcom_icc_node qns_pcie_east =3D { @@ -598,7 +598,7 @@ static struct qcom_icc_node qns_pcie_east =3D { .channels =3D 1, .buswidth =3D 32, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qnm_hscnoc_pcie_east }, + .link_nodes =3D { &qnm_hscnoc_pcie_east }, }; =20 static struct qcom_icc_node qns_pcie_west =3D { @@ -606,7 +606,7 @@ static struct qcom_icc_node qns_pcie_west =3D { .channels =3D 1, .buswidth =3D 32, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qnm_hscnoc_pcie_west }, + .link_nodes =3D { &qnm_hscnoc_pcie_west }, }; =20 static struct qcom_icc_node qsm_cfg =3D { @@ -614,7 +614,7 @@ static struct qcom_icc_node qsm_cfg =3D { .channels =3D 1, .buswidth =3D 4, .num_links =3D 51, - .link_nodes =3D (struct qcom_icc_node *[]) { &qhs_ahb2phy0, &qhs_ahb2phy1, + .link_nodes =3D { &qhs_ahb2phy0, &qhs_ahb2phy1, &qhs_ahb2phy2, &qhs_ahb2phy3, &qhs_av1_enc_cfg, &qhs_camera_cfg, &qhs_clk_ctl, &qhs_crypto0_cfg, @@ -654,7 +654,7 @@ static struct qcom_icc_node xm_gic =3D { .prio_fwd_disable =3D 0, }, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qns_llcc }, + .link_nodes =3D { &qns_llcc }, }; =20 static struct qcom_icc_node qss_cfg =3D { @@ -662,7 +662,7 @@ static struct qcom_icc_node qss_cfg =3D { .channels =3D 1, .buswidth =3D 4, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qsm_cfg }, + .link_nodes =3D { &qsm_cfg }, }; =20 static struct qcom_icc_node qnm_hscnoc_cnoc =3D { @@ -670,7 +670,7 @@ static struct qcom_icc_node qnm_hscnoc_cnoc =3D { .channels =3D 1, .buswidth =3D 16, .num_links =3D 8, - .link_nodes =3D (struct qcom_icc_node *[]) { &qhs_aoss, &qhs_ipc_router, + .link_nodes =3D { &qhs_aoss, &qhs_ipc_router, &qhs_soccp, &qhs_tme_cfg, &qns_apss, &qss_cfg, &qxs_boot_imem, &qxs_imem }, @@ -681,7 +681,7 @@ static struct qcom_icc_node qns_hscnoc_cnoc =3D { .channels =3D 1, .buswidth =3D 16, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qnm_hscnoc_cnoc }, + .link_nodes =3D { &qnm_hscnoc_cnoc }, }; =20 static struct qcom_icc_node alm_gpu_tcu =3D { @@ -696,7 +696,7 @@ static struct qcom_icc_node alm_gpu_tcu =3D { .prio_fwd_disable =3D 1, }, .num_links =3D 2, - .link_nodes =3D (struct qcom_icc_node *[]) { &qns_hscnoc_cnoc, &qns_llcc = }, + .link_nodes =3D { &qns_hscnoc_cnoc, &qns_llcc }, }; =20 static struct qcom_icc_node alm_pcie_qtc =3D { @@ -711,7 +711,7 @@ static struct qcom_icc_node alm_pcie_qtc =3D { .prio_fwd_disable =3D 1, }, .num_links =3D 2, - .link_nodes =3D (struct qcom_icc_node *[]) { &qns_hscnoc_cnoc, &qns_llcc = }, + .link_nodes =3D { &qns_hscnoc_cnoc, &qns_llcc }, }; =20 static struct qcom_icc_node alm_sys_tcu =3D { @@ -726,7 +726,7 @@ static struct qcom_icc_node alm_sys_tcu =3D { .prio_fwd_disable =3D 1, }, .num_links =3D 2, - .link_nodes =3D (struct qcom_icc_node *[]) { &qns_hscnoc_cnoc, &qns_llcc = }, + .link_nodes =3D { &qns_hscnoc_cnoc, &qns_llcc }, }; =20 static struct qcom_icc_node chm_apps =3D { @@ -734,7 +734,7 @@ static struct qcom_icc_node chm_apps =3D { .channels =3D 6, .buswidth =3D 32, .num_links =3D 4, - .link_nodes =3D (struct qcom_icc_node *[]) { &qns_hscnoc_cnoc, &qns_llcc, + .link_nodes =3D { &qns_hscnoc_cnoc, &qns_llcc, &qns_pcie_east, &qns_pcie_west }, }; =20 @@ -750,7 +750,7 @@ static struct qcom_icc_node qnm_aggre_noc_east =3D { .prio_fwd_disable =3D 1, }, .num_links =3D 4, - .link_nodes =3D (struct qcom_icc_node *[]) { &qns_hscnoc_cnoc, &qns_llcc, + .link_nodes =3D { &qns_hscnoc_cnoc, &qns_llcc, &qns_pcie_east, &qns_pcie_west }, }; =20 @@ -766,7 +766,7 @@ static struct qcom_icc_node qnm_gpu =3D { .prio_fwd_disable =3D 1, }, .num_links =3D 4, - .link_nodes =3D (struct qcom_icc_node *[]) { &qns_hscnoc_cnoc, &qns_llcc, + .link_nodes =3D { &qns_hscnoc_cnoc, &qns_llcc, &qns_pcie_east, &qns_pcie_west }, }; =20 @@ -782,7 +782,7 @@ static struct qcom_icc_node qnm_lpass =3D { .prio_fwd_disable =3D 0, }, .num_links =3D 4, - .link_nodes =3D (struct qcom_icc_node *[]) { &qns_hscnoc_cnoc, &qns_llcc, + .link_nodes =3D { &qns_hscnoc_cnoc, &qns_llcc, &qns_pcie_east, &qns_pcie_west }, }; =20 @@ -798,7 +798,7 @@ static struct qcom_icc_node qnm_mnoc_hf =3D { .prio_fwd_disable =3D 0, }, .num_links =3D 4, - .link_nodes =3D (struct qcom_icc_node *[]) { &qns_hscnoc_cnoc, &qns_llcc, + .link_nodes =3D { &qns_hscnoc_cnoc, &qns_llcc, &qns_pcie_east, &qns_pcie_west }, }; =20 @@ -814,7 +814,7 @@ static struct qcom_icc_node qnm_mnoc_sf =3D { .prio_fwd_disable =3D 0, }, .num_links =3D 4, - .link_nodes =3D (struct qcom_icc_node *[]) { &qns_hscnoc_cnoc, &qns_llcc, + .link_nodes =3D { &qns_hscnoc_cnoc, &qns_llcc, &qns_pcie_east, &qns_pcie_west }, }; =20 @@ -830,7 +830,7 @@ static struct qcom_icc_node qnm_nsp_noc =3D { .prio_fwd_disable =3D 1, }, .num_links =3D 4, - .link_nodes =3D (struct qcom_icc_node *[]) { &qns_hscnoc_cnoc, &qns_llcc, + .link_nodes =3D { &qns_hscnoc_cnoc, &qns_llcc, &qns_pcie_east, &qns_pcie_west }, }; =20 @@ -846,7 +846,7 @@ static struct qcom_icc_node qnm_pcie_east =3D { .prio_fwd_disable =3D 1, }, .num_links =3D 2, - .link_nodes =3D (struct qcom_icc_node *[]) { &qns_hscnoc_cnoc, &qns_llcc = }, + .link_nodes =3D { &qns_hscnoc_cnoc, &qns_llcc }, }; =20 static struct qcom_icc_node qnm_pcie_west =3D { @@ -861,7 +861,7 @@ static struct qcom_icc_node qnm_pcie_west =3D { .prio_fwd_disable =3D 1, }, .num_links =3D 2, - .link_nodes =3D (struct qcom_icc_node *[]) { &qns_hscnoc_cnoc, &qns_llcc = }, + .link_nodes =3D { &qns_hscnoc_cnoc, &qns_llcc }, }; =20 static struct qcom_icc_node qnm_snoc_sf =3D { @@ -876,7 +876,7 @@ static struct qcom_icc_node qnm_snoc_sf =3D { .prio_fwd_disable =3D 1, }, .num_links =3D 4, - .link_nodes =3D (struct qcom_icc_node *[]) { &qns_hscnoc_cnoc, &qns_llcc, + .link_nodes =3D { &qns_hscnoc_cnoc, &qns_llcc, &qns_pcie_east, &qns_pcie_west }, }; =20 @@ -885,7 +885,7 @@ static struct qcom_icc_node qxm_wlan_q6 =3D { .channels =3D 1, .buswidth =3D 8, .num_links =3D 4, - .link_nodes =3D (struct qcom_icc_node *[]) { &qns_hscnoc_cnoc, &qns_llcc, + .link_nodes =3D { &qns_hscnoc_cnoc, &qns_llcc, &qns_pcie_east, &qns_pcie_west }, }; =20 @@ -894,7 +894,7 @@ static struct qcom_icc_node qns_a4noc_hscnoc =3D { .channels =3D 1, .buswidth =3D 32, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qnm_aggre_noc_east }, + .link_nodes =3D { &qnm_aggre_noc_east }, }; =20 static struct qcom_icc_node qns_lpass_ag_noc_gemnoc =3D { @@ -902,7 +902,7 @@ static struct qcom_icc_node qns_lpass_ag_noc_gemnoc =3D= { .channels =3D 1, .buswidth =3D 16, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qnm_lpass }, + .link_nodes =3D { &qnm_lpass }, }; =20 static struct qcom_icc_node qns_mem_noc_hf =3D { @@ -910,7 +910,7 @@ static struct qcom_icc_node qns_mem_noc_hf =3D { .channels =3D 2, .buswidth =3D 32, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qnm_mnoc_hf }, + .link_nodes =3D { &qnm_mnoc_hf }, }; =20 static struct qcom_icc_node qns_mem_noc_sf =3D { @@ -918,7 +918,7 @@ static struct qcom_icc_node qns_mem_noc_sf =3D { .channels =3D 2, .buswidth =3D 32, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qnm_mnoc_sf }, + .link_nodes =3D { &qnm_mnoc_sf }, }; =20 static struct qcom_icc_node qns_nsp_hscnoc =3D { @@ -926,7 +926,7 @@ static struct qcom_icc_node qns_nsp_hscnoc =3D { .channels =3D 4, .buswidth =3D 32, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qnm_nsp_noc }, + .link_nodes =3D { &qnm_nsp_noc }, }; =20 static struct qcom_icc_node qns_pcie_east_mem_noc =3D { @@ -934,7 +934,7 @@ static struct qcom_icc_node qns_pcie_east_mem_noc =3D { .channels =3D 1, .buswidth =3D 32, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qnm_pcie_east }, + .link_nodes =3D { &qnm_pcie_east }, }; =20 static struct qcom_icc_node qns_pcie_west_mem_noc =3D { @@ -942,7 +942,7 @@ static struct qcom_icc_node qns_pcie_west_mem_noc =3D { .channels =3D 1, .buswidth =3D 64, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qnm_pcie_west }, + .link_nodes =3D { &qnm_pcie_west }, }; =20 static struct qcom_icc_node qns_gemnoc_sf =3D { @@ -950,7 +950,7 @@ static struct qcom_icc_node qns_gemnoc_sf =3D { .channels =3D 1, .buswidth =3D 64, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qnm_snoc_sf }, + .link_nodes =3D { &qnm_snoc_sf }, }; =20 static struct qcom_icc_node xm_usb3_0 =3D { @@ -965,7 +965,7 @@ static struct qcom_icc_node xm_usb3_0 =3D { .prio_fwd_disable =3D 1, }, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qns_a4noc_hscnoc }, + .link_nodes =3D { &qns_a4noc_hscnoc }, }; =20 static struct qcom_icc_node xm_usb3_1 =3D { @@ -980,7 +980,7 @@ static struct qcom_icc_node xm_usb3_1 =3D { .prio_fwd_disable =3D 1, }, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qns_a4noc_hscnoc }, + .link_nodes =3D { &qns_a4noc_hscnoc }, }; =20 static struct qcom_icc_node xm_usb4_0 =3D { @@ -995,7 +995,7 @@ static struct qcom_icc_node xm_usb4_0 =3D { .prio_fwd_disable =3D 1, }, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qns_a4noc_hscnoc }, + .link_nodes =3D { &qns_a4noc_hscnoc }, }; =20 static struct qcom_icc_node xm_usb4_1 =3D { @@ -1010,7 +1010,7 @@ static struct qcom_icc_node xm_usb4_1 =3D { .prio_fwd_disable =3D 1, }, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qns_a4noc_hscnoc }, + .link_nodes =3D { &qns_a4noc_hscnoc }, }; =20 static struct qcom_icc_node qnm_lpiaon_noc =3D { @@ -1018,7 +1018,7 @@ static struct qcom_icc_node qnm_lpiaon_noc =3D { .channels =3D 1, .buswidth =3D 16, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qns_lpass_ag_noc_gemnoc }, + .link_nodes =3D { &qns_lpass_ag_noc_gemnoc }, }; =20 static struct qcom_icc_node qnm_av1_enc =3D { @@ -1033,7 +1033,7 @@ static struct qcom_icc_node qnm_av1_enc =3D { .prio_fwd_disable =3D 1, }, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qns_mem_noc_sf }, + .link_nodes =3D { &qns_mem_noc_sf }, }; =20 static struct qcom_icc_node qnm_camnoc_hf =3D { @@ -1048,7 +1048,7 @@ static struct qcom_icc_node qnm_camnoc_hf =3D { .prio_fwd_disable =3D 0, }, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qns_mem_noc_hf }, + .link_nodes =3D { &qns_mem_noc_hf }, }; =20 static struct qcom_icc_node qnm_camnoc_icp =3D { @@ -1063,7 +1063,7 @@ static struct qcom_icc_node qnm_camnoc_icp =3D { .prio_fwd_disable =3D 1, }, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qns_mem_noc_sf }, + .link_nodes =3D { &qns_mem_noc_sf }, }; =20 static struct qcom_icc_node qnm_camnoc_sf =3D { @@ -1078,7 +1078,7 @@ static struct qcom_icc_node qnm_camnoc_sf =3D { .prio_fwd_disable =3D 0, }, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qns_mem_noc_sf }, + .link_nodes =3D { &qns_mem_noc_sf }, }; =20 static struct qcom_icc_node qnm_eva =3D { @@ -1093,7 +1093,7 @@ static struct qcom_icc_node qnm_eva =3D { .prio_fwd_disable =3D 0, }, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qns_mem_noc_sf }, + .link_nodes =3D { &qns_mem_noc_sf }, }; =20 static struct qcom_icc_node qnm_mdp =3D { @@ -1108,7 +1108,7 @@ static struct qcom_icc_node qnm_mdp =3D { .prio_fwd_disable =3D 0, }, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qns_mem_noc_hf }, + .link_nodes =3D { &qns_mem_noc_hf }, }; =20 static struct qcom_icc_node qnm_vapss_hcp =3D { @@ -1116,7 +1116,7 @@ static struct qcom_icc_node qnm_vapss_hcp =3D { .channels =3D 1, .buswidth =3D 32, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qns_mem_noc_sf }, + .link_nodes =3D { &qns_mem_noc_sf }, }; =20 static struct qcom_icc_node qnm_video =3D { @@ -1131,7 +1131,7 @@ static struct qcom_icc_node qnm_video =3D { .prio_fwd_disable =3D 0, }, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qns_mem_noc_sf }, + .link_nodes =3D { &qns_mem_noc_sf }, }; =20 static struct qcom_icc_node qnm_video_cv_cpu =3D { @@ -1146,7 +1146,7 @@ static struct qcom_icc_node qnm_video_cv_cpu =3D { .prio_fwd_disable =3D 1, }, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qns_mem_noc_sf }, + .link_nodes =3D { &qns_mem_noc_sf }, }; =20 static struct qcom_icc_node qnm_video_v_cpu =3D { @@ -1161,7 +1161,7 @@ static struct qcom_icc_node qnm_video_v_cpu =3D { .prio_fwd_disable =3D 1, }, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qns_mem_noc_sf }, + .link_nodes =3D { &qns_mem_noc_sf }, }; =20 static struct qcom_icc_node qnm_nsp =3D { @@ -1169,7 +1169,7 @@ static struct qcom_icc_node qnm_nsp =3D { .channels =3D 4, .buswidth =3D 32, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qns_nsp_hscnoc }, + .link_nodes =3D { &qns_nsp_hscnoc }, }; =20 static struct qcom_icc_node xm_pcie_0 =3D { @@ -1184,7 +1184,7 @@ static struct qcom_icc_node xm_pcie_0 =3D { .prio_fwd_disable =3D 0, }, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qns_pcie_east_mem_noc }, + .link_nodes =3D { &qns_pcie_east_mem_noc }, }; =20 static struct qcom_icc_node xm_pcie_1 =3D { @@ -1199,7 +1199,7 @@ static struct qcom_icc_node xm_pcie_1 =3D { .prio_fwd_disable =3D 0, }, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qns_pcie_east_mem_noc }, + .link_nodes =3D { &qns_pcie_east_mem_noc }, }; =20 static struct qcom_icc_node xm_pcie_5 =3D { @@ -1214,7 +1214,7 @@ static struct qcom_icc_node xm_pcie_5 =3D { .prio_fwd_disable =3D 0, }, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qns_pcie_east_mem_noc }, + .link_nodes =3D { &qns_pcie_east_mem_noc }, }; =20 static struct qcom_icc_node xm_pcie_2 =3D { @@ -1229,7 +1229,7 @@ static struct qcom_icc_node xm_pcie_2 =3D { .prio_fwd_disable =3D 0, }, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qns_pcie_west_mem_noc }, + .link_nodes =3D { &qns_pcie_west_mem_noc }, }; =20 static struct qcom_icc_node xm_pcie_3a =3D { @@ -1244,7 +1244,7 @@ static struct qcom_icc_node xm_pcie_3a =3D { .prio_fwd_disable =3D 0, }, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qns_pcie_west_mem_noc }, + .link_nodes =3D { &qns_pcie_west_mem_noc }, }; =20 static struct qcom_icc_node xm_pcie_3b =3D { @@ -1259,7 +1259,7 @@ static struct qcom_icc_node xm_pcie_3b =3D { .prio_fwd_disable =3D 0, }, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qns_pcie_west_mem_noc }, + .link_nodes =3D { &qns_pcie_west_mem_noc }, }; =20 static struct qcom_icc_node xm_pcie_4 =3D { @@ -1274,7 +1274,7 @@ static struct qcom_icc_node xm_pcie_4 =3D { .prio_fwd_disable =3D 0, }, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qns_pcie_west_mem_noc }, + .link_nodes =3D { &qns_pcie_west_mem_noc }, }; =20 static struct qcom_icc_node xm_pcie_6 =3D { @@ -1289,7 +1289,7 @@ static struct qcom_icc_node xm_pcie_6 =3D { .prio_fwd_disable =3D 0, }, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qns_pcie_west_mem_noc }, + .link_nodes =3D { &qns_pcie_west_mem_noc }, }; =20 static struct qcom_icc_node qnm_aggre1_noc =3D { @@ -1297,7 +1297,7 @@ static struct qcom_icc_node qnm_aggre1_noc =3D { .channels =3D 1, .buswidth =3D 16, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qns_gemnoc_sf }, + .link_nodes =3D { &qns_gemnoc_sf }, }; =20 static struct qcom_icc_node qnm_aggre2_noc =3D { @@ -1305,7 +1305,7 @@ static struct qcom_icc_node qnm_aggre2_noc =3D { .channels =3D 1, .buswidth =3D 16, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qns_gemnoc_sf }, + .link_nodes =3D { &qns_gemnoc_sf }, }; =20 static struct qcom_icc_node qnm_aggre3_noc =3D { @@ -1313,7 +1313,7 @@ static struct qcom_icc_node qnm_aggre3_noc =3D { .channels =3D 1, .buswidth =3D 32, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qns_gemnoc_sf }, + .link_nodes =3D { &qns_gemnoc_sf }, }; =20 static struct qcom_icc_node qnm_nsi_noc =3D { @@ -1328,7 +1328,7 @@ static struct qcom_icc_node qnm_nsi_noc =3D { .prio_fwd_disable =3D 1, }, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qns_gemnoc_sf }, + .link_nodes =3D { &qns_gemnoc_sf }, }; =20 static struct qcom_icc_node qnm_oobmss =3D { @@ -1343,7 +1343,7 @@ static struct qcom_icc_node qnm_oobmss =3D { .prio_fwd_disable =3D 1, }, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qns_gemnoc_sf }, + .link_nodes =3D { &qns_gemnoc_sf }, }; =20 static struct qcom_icc_node qns_a1noc_snoc =3D { @@ -1351,7 +1351,7 @@ static struct qcom_icc_node qns_a1noc_snoc =3D { .channels =3D 1, .buswidth =3D 16, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qnm_aggre1_noc }, + .link_nodes =3D { &qnm_aggre1_noc }, }; =20 static struct qcom_icc_node qns_a2noc_snoc =3D { @@ -1359,7 +1359,7 @@ static struct qcom_icc_node qns_a2noc_snoc =3D { .channels =3D 1, .buswidth =3D 16, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qnm_aggre2_noc }, + .link_nodes =3D { &qnm_aggre2_noc }, }; =20 static struct qcom_icc_node qns_a3noc_snoc =3D { @@ -1367,7 +1367,7 @@ static struct qcom_icc_node qns_a3noc_snoc =3D { .channels =3D 1, .buswidth =3D 32, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qnm_aggre3_noc }, + .link_nodes =3D { &qnm_aggre3_noc }, }; =20 static struct qcom_icc_node qns_lpass_aggnoc =3D { @@ -1375,7 +1375,7 @@ static struct qcom_icc_node qns_lpass_aggnoc =3D { .channels =3D 1, .buswidth =3D 16, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qnm_lpiaon_noc }, + .link_nodes =3D { &qnm_lpiaon_noc }, }; =20 static struct qcom_icc_node qns_system_noc =3D { @@ -1383,7 +1383,7 @@ static struct qcom_icc_node qns_system_noc =3D { .channels =3D 1, .buswidth =3D 8, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qnm_nsi_noc }, + .link_nodes =3D { &qnm_nsi_noc }, }; =20 static struct qcom_icc_node qns_oobmss_snoc =3D { @@ -1391,7 +1391,7 @@ static struct qcom_icc_node qns_oobmss_snoc =3D { .channels =3D 1, .buswidth =3D 16, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qnm_oobmss }, + .link_nodes =3D { &qnm_oobmss }, }; =20 static struct qcom_icc_node qxm_crypto =3D { @@ -1406,7 +1406,7 @@ static struct qcom_icc_node qxm_crypto =3D { .prio_fwd_disable =3D 1, }, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qns_a1noc_snoc }, + .link_nodes =3D { &qns_a1noc_snoc }, }; =20 static struct qcom_icc_node qxm_soccp =3D { @@ -1421,7 +1421,7 @@ static struct qcom_icc_node qxm_soccp =3D { .prio_fwd_disable =3D 1, }, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qns_a1noc_snoc }, + .link_nodes =3D { &qns_a1noc_snoc }, }; =20 static struct qcom_icc_node xm_qdss_etr_0 =3D { @@ -1436,7 +1436,7 @@ static struct qcom_icc_node xm_qdss_etr_0 =3D { .prio_fwd_disable =3D 1, }, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qns_a1noc_snoc }, + .link_nodes =3D { &qns_a1noc_snoc }, }; =20 static struct qcom_icc_node xm_qdss_etr_1 =3D { @@ -1451,7 +1451,7 @@ static struct qcom_icc_node xm_qdss_etr_1 =3D { .prio_fwd_disable =3D 1, }, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qns_a1noc_snoc }, + .link_nodes =3D { &qns_a1noc_snoc }, }; =20 static struct qcom_icc_node xm_ufs_mem =3D { @@ -1466,7 +1466,7 @@ static struct qcom_icc_node xm_ufs_mem =3D { .prio_fwd_disable =3D 1, }, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qns_a2noc_snoc }, + .link_nodes =3D { &qns_a2noc_snoc }, }; =20 static struct qcom_icc_node xm_usb3_2 =3D { @@ -1481,7 +1481,7 @@ static struct qcom_icc_node xm_usb3_2 =3D { .prio_fwd_disable =3D 1, }, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qns_a2noc_snoc }, + .link_nodes =3D { &qns_a2noc_snoc }, }; =20 static struct qcom_icc_node xm_usb4_2 =3D { @@ -1496,7 +1496,7 @@ static struct qcom_icc_node xm_usb4_2 =3D { .prio_fwd_disable =3D 1, }, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qns_a2noc_snoc }, + .link_nodes =3D { &qns_a2noc_snoc }, }; =20 static struct qcom_icc_node qhm_qspi =3D { @@ -1511,7 +1511,7 @@ static struct qcom_icc_node qhm_qspi =3D { .prio_fwd_disable =3D 1, }, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qns_a3noc_snoc }, + .link_nodes =3D { &qns_a3noc_snoc }, }; =20 static struct qcom_icc_node qhm_qup0 =3D { @@ -1526,7 +1526,7 @@ static struct qcom_icc_node qhm_qup0 =3D { .prio_fwd_disable =3D 1, }, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qns_a3noc_snoc }, + .link_nodes =3D { &qns_a3noc_snoc }, }; =20 static struct qcom_icc_node qhm_qup1 =3D { @@ -1541,7 +1541,7 @@ static struct qcom_icc_node qhm_qup1 =3D { .prio_fwd_disable =3D 1, }, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qns_a3noc_snoc }, + .link_nodes =3D { &qns_a3noc_snoc }, }; =20 static struct qcom_icc_node qhm_qup2 =3D { @@ -1556,7 +1556,7 @@ static struct qcom_icc_node qhm_qup2 =3D { .prio_fwd_disable =3D 1, }, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qns_a3noc_snoc }, + .link_nodes =3D { &qns_a3noc_snoc }, }; =20 static struct qcom_icc_node qxm_sp =3D { @@ -1564,7 +1564,7 @@ static struct qcom_icc_node qxm_sp =3D { .channels =3D 1, .buswidth =3D 8, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qns_a3noc_snoc }, + .link_nodes =3D { &qns_a3noc_snoc }, }; =20 static struct qcom_icc_node xm_sdc2 =3D { @@ -1579,7 +1579,7 @@ static struct qcom_icc_node xm_sdc2 =3D { .prio_fwd_disable =3D 1, }, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qns_a3noc_snoc }, + .link_nodes =3D { &qns_a3noc_snoc }, }; =20 static struct qcom_icc_node xm_sdc4 =3D { @@ -1594,7 +1594,7 @@ static struct qcom_icc_node xm_sdc4 =3D { .prio_fwd_disable =3D 1, }, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qns_a3noc_snoc }, + .link_nodes =3D { &qns_a3noc_snoc }, }; =20 static struct qcom_icc_node xm_usb2_0 =3D { @@ -1609,7 +1609,7 @@ static struct qcom_icc_node xm_usb2_0 =3D { .prio_fwd_disable =3D 1, }, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qns_a3noc_snoc }, + .link_nodes =3D { &qns_a3noc_snoc }, }; =20 static struct qcom_icc_node xm_usb3_mp =3D { @@ -1624,7 +1624,7 @@ static struct qcom_icc_node xm_usb3_mp =3D { .prio_fwd_disable =3D 1, }, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qns_a3noc_snoc }, + .link_nodes =3D { &qns_a3noc_snoc }, }; =20 static struct qcom_icc_node qnm_lpass_lpinoc =3D { @@ -1632,7 +1632,7 @@ static struct qcom_icc_node qnm_lpass_lpinoc =3D { .channels =3D 1, .buswidth =3D 16, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qns_lpass_aggnoc }, + .link_nodes =3D { &qns_lpass_aggnoc }, }; =20 static struct qcom_icc_node xm_cpucp =3D { @@ -1640,7 +1640,7 @@ static struct qcom_icc_node xm_cpucp =3D { .channels =3D 1, .buswidth =3D 8, .num_links =3D 2, - .link_nodes =3D (struct qcom_icc_node *[]) { &qns_system_noc, &srvc_nsino= c }, + .link_nodes =3D { &qns_system_noc, &srvc_nsinoc }, }; =20 static struct qcom_icc_node xm_mem_sp =3D { @@ -1648,7 +1648,7 @@ static struct qcom_icc_node xm_mem_sp =3D { .channels =3D 1, .buswidth =3D 8, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qns_oobmss_snoc }, + .link_nodes =3D { &qns_oobmss_snoc }, }; =20 static struct qcom_icc_node qns_lpi_aon_noc =3D { @@ -1656,7 +1656,7 @@ static struct qcom_icc_node qns_lpi_aon_noc =3D { .channels =3D 1, .buswidth =3D 16, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qnm_lpass_lpinoc }, + .link_nodes =3D { &qnm_lpass_lpinoc }, }; =20 static struct qcom_icc_node qnm_lpinoc_dsp_qns4m =3D { @@ -1664,7 +1664,7 @@ static struct qcom_icc_node qnm_lpinoc_dsp_qns4m =3D { .channels =3D 1, .buswidth =3D 16, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qns_lpi_aon_noc }, + .link_nodes =3D { &qns_lpi_aon_noc }, }; =20 static struct qcom_icc_bcm bcm_acv =3D { diff --git a/drivers/interconnect/qcom/icc-rpmh.h b/drivers/interconnect/qc= om/icc-rpmh.h index 307f48412563690049e944907bd80500f263f738..b72939cceba38e92154f6af5a93= 149337fa13479 100644 --- a/drivers/interconnect/qcom/icc-rpmh.h +++ b/drivers/interconnect/qcom/icc-rpmh.h @@ -98,7 +98,6 @@ struct qcom_icc_node { const char *name; u16 links[MAX_LINKS]; u16 id; - struct qcom_icc_node **link_nodes; struct icc_node *node; u16 num_links; u16 channels; @@ -108,6 +107,7 @@ struct qcom_icc_node { struct qcom_icc_bcm *bcms[MAX_BCM_PER_NODE]; size_t num_bcms; const struct qcom_icc_qosbox *qosbox; + struct qcom_icc_node *link_nodes[]; }; =20 /** diff --git a/drivers/interconnect/qcom/milos.c b/drivers/interconnect/qcom/= milos.c index 167d479f77641a3c1a69f8a0beb20473a251a9d9..814ec0517f6b8f42ae9d7ce3cd5= cebcbaae35ae8 100644 --- a/drivers/interconnect/qcom/milos.c +++ b/drivers/interconnect/qcom/milos.c @@ -151,7 +151,7 @@ static struct qcom_icc_node qhm_qup1 =3D { .buswidth =3D 4, .qosbox =3D &qhm_qup1_qos, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qns_a1noc_snoc }, + .link_nodes =3D { &qns_a1noc_snoc }, }; =20 static struct qcom_icc_qosbox xm_ufs_mem_qos =3D { @@ -168,7 +168,7 @@ static struct qcom_icc_node xm_ufs_mem =3D { .buswidth =3D 8, .qosbox =3D &xm_ufs_mem_qos, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qns_a1noc_snoc }, + .link_nodes =3D { &qns_a1noc_snoc }, }; =20 static struct qcom_icc_qosbox xm_usb3_0_qos =3D { @@ -185,7 +185,7 @@ static struct qcom_icc_node xm_usb3_0 =3D { .buswidth =3D 8, .qosbox =3D &xm_usb3_0_qos, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qns_a1noc_snoc }, + .link_nodes =3D { &qns_a1noc_snoc }, }; =20 static struct qcom_icc_qosbox qhm_qdss_bam_qos =3D { @@ -202,7 +202,7 @@ static struct qcom_icc_node qhm_qdss_bam =3D { .buswidth =3D 4, .qosbox =3D &qhm_qdss_bam_qos, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qns_a2noc_snoc }, + .link_nodes =3D { &qns_a2noc_snoc }, }; =20 static struct qcom_icc_qosbox qhm_qspi_qos =3D { @@ -219,7 +219,7 @@ static struct qcom_icc_node qhm_qspi =3D { .buswidth =3D 4, .qosbox =3D &qhm_qspi_qos, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qns_a2noc_snoc }, + .link_nodes =3D { &qns_a2noc_snoc }, }; =20 static struct qcom_icc_qosbox qhm_qup0_qos =3D { @@ -236,7 +236,7 @@ static struct qcom_icc_node qhm_qup0 =3D { .buswidth =3D 4, .qosbox =3D &qhm_qup0_qos, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qns_a2noc_snoc }, + .link_nodes =3D { &qns_a2noc_snoc }, }; =20 static struct qcom_icc_qosbox qxm_crypto_qos =3D { @@ -253,7 +253,7 @@ static struct qcom_icc_node qxm_crypto =3D { .buswidth =3D 8, .qosbox =3D &qxm_crypto_qos, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qns_a2noc_snoc }, + .link_nodes =3D { &qns_a2noc_snoc }, }; =20 static struct qcom_icc_qosbox qxm_ipa_qos =3D { @@ -270,7 +270,7 @@ static struct qcom_icc_node qxm_ipa =3D { .buswidth =3D 8, .qosbox =3D &qxm_ipa_qos, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qns_a2noc_snoc }, + .link_nodes =3D { &qns_a2noc_snoc }, }; =20 static struct qcom_icc_qosbox xm_qdss_etr_0_qos =3D { @@ -287,7 +287,7 @@ static struct qcom_icc_node xm_qdss_etr_0 =3D { .buswidth =3D 8, .qosbox =3D &xm_qdss_etr_0_qos, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qns_a2noc_snoc }, + .link_nodes =3D { &qns_a2noc_snoc }, }; =20 static struct qcom_icc_qosbox xm_qdss_etr_1_qos =3D { @@ -304,7 +304,7 @@ static struct qcom_icc_node xm_qdss_etr_1 =3D { .buswidth =3D 8, .qosbox =3D &xm_qdss_etr_1_qos, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qns_a2noc_snoc }, + .link_nodes =3D { &qns_a2noc_snoc }, }; =20 static struct qcom_icc_qosbox xm_sdc1_qos =3D { @@ -321,7 +321,7 @@ static struct qcom_icc_node xm_sdc1 =3D { .buswidth =3D 8, .qosbox =3D &xm_sdc1_qos, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qns_a2noc_snoc }, + .link_nodes =3D { &qns_a2noc_snoc }, }; =20 static struct qcom_icc_qosbox xm_sdc2_qos =3D { @@ -338,7 +338,7 @@ static struct qcom_icc_node xm_sdc2 =3D { .buswidth =3D 8, .qosbox =3D &xm_sdc2_qos, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qns_a2noc_snoc }, + .link_nodes =3D { &qns_a2noc_snoc }, }; =20 static struct qcom_icc_node qup0_core_master =3D { @@ -346,7 +346,7 @@ static struct qcom_icc_node qup0_core_master =3D { .channels =3D 1, .buswidth =3D 4, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qup0_core_slave }, + .link_nodes =3D { &qup0_core_slave }, }; =20 static struct qcom_icc_node qup1_core_master =3D { @@ -354,7 +354,7 @@ static struct qcom_icc_node qup1_core_master =3D { .channels =3D 1, .buswidth =3D 4, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qup1_core_slave }, + .link_nodes =3D { &qup1_core_slave }, }; =20 static struct qcom_icc_node qsm_cfg =3D { @@ -362,7 +362,7 @@ static struct qcom_icc_node qsm_cfg =3D { .channels =3D 1, .buswidth =3D 4, .num_links =3D 35, - .link_nodes =3D (struct qcom_icc_node *[]) { &qhs_ahb2phy0, &qhs_ahb2phy1, + .link_nodes =3D { &qhs_ahb2phy0, &qhs_ahb2phy1, &qhs_camera_cfg, &qhs_clk_ctl, &qhs_cpr_cx, &qhs_cpr_mxa, &qhs_crypto0_cfg, &qhs_cx_rdpm, @@ -387,7 +387,7 @@ static struct qcom_icc_node qnm_gemnoc_cnoc =3D { .channels =3D 1, .buswidth =3D 16, .num_links =3D 14, - .link_nodes =3D (struct qcom_icc_node *[]) { &qhs_aoss, &qhs_display_cfg, + .link_nodes =3D { &qhs_aoss, &qhs_display_cfg, &qhs_ipa, &qhs_ipc_router, &qhs_pcie0_cfg, &qhs_pcie1_cfg, &qhs_prng, &qhs_tme_cfg, @@ -401,7 +401,7 @@ static struct qcom_icc_node qnm_gemnoc_pcie =3D { .channels =3D 1, .buswidth =3D 8, .num_links =3D 2, - .link_nodes =3D (struct qcom_icc_node *[]) { &xs_pcie_0, &xs_pcie_1 }, + .link_nodes =3D { &xs_pcie_0, &xs_pcie_1 }, }; =20 static struct qcom_icc_qosbox alm_gpu_tcu_qos =3D { @@ -418,7 +418,7 @@ static struct qcom_icc_node alm_gpu_tcu =3D { .buswidth =3D 8, .qosbox =3D &alm_gpu_tcu_qos, .num_links =3D 2, - .link_nodes =3D (struct qcom_icc_node *[]) { &qns_gem_noc_cnoc, &qns_llcc= }, + .link_nodes =3D { &qns_gem_noc_cnoc, &qns_llcc }, }; =20 static struct qcom_icc_qosbox alm_sys_tcu_qos =3D { @@ -435,7 +435,7 @@ static struct qcom_icc_node alm_sys_tcu =3D { .buswidth =3D 8, .qosbox =3D &alm_sys_tcu_qos, .num_links =3D 2, - .link_nodes =3D (struct qcom_icc_node *[]) { &qns_gem_noc_cnoc, &qns_llcc= }, + .link_nodes =3D { &qns_gem_noc_cnoc, &qns_llcc }, }; =20 static struct qcom_icc_node chm_apps =3D { @@ -443,7 +443,7 @@ static struct qcom_icc_node chm_apps =3D { .channels =3D 3, .buswidth =3D 32, .num_links =3D 3, - .link_nodes =3D (struct qcom_icc_node *[]) { &qns_gem_noc_cnoc, &qns_llcc, + .link_nodes =3D { &qns_gem_noc_cnoc, &qns_llcc, &qns_pcie }, }; =20 @@ -461,7 +461,7 @@ static struct qcom_icc_node qnm_gpu =3D { .buswidth =3D 32, .qosbox =3D &qnm_gpu_qos, .num_links =3D 2, - .link_nodes =3D (struct qcom_icc_node *[]) { &qns_gem_noc_cnoc, &qns_llcc= }, + .link_nodes =3D { &qns_gem_noc_cnoc, &qns_llcc }, }; =20 static struct qcom_icc_qosbox qnm_lpass_gemnoc_qos =3D { @@ -478,7 +478,7 @@ static struct qcom_icc_node qnm_lpass_gemnoc =3D { .buswidth =3D 16, .qosbox =3D &qnm_lpass_gemnoc_qos, .num_links =3D 3, - .link_nodes =3D (struct qcom_icc_node *[]) { &qns_gem_noc_cnoc, &qns_llcc, + .link_nodes =3D { &qns_gem_noc_cnoc, &qns_llcc, &qns_pcie }, }; =20 @@ -487,7 +487,7 @@ static struct qcom_icc_node qnm_mdsp =3D { .channels =3D 1, .buswidth =3D 16, .num_links =3D 3, - .link_nodes =3D (struct qcom_icc_node *[]) { &qns_gem_noc_cnoc, &qns_llcc, + .link_nodes =3D { &qns_gem_noc_cnoc, &qns_llcc, &qns_pcie }, }; =20 @@ -505,7 +505,7 @@ static struct qcom_icc_node qnm_mnoc_hf =3D { .buswidth =3D 32, .qosbox =3D &qnm_mnoc_hf_qos, .num_links =3D 2, - .link_nodes =3D (struct qcom_icc_node *[]) { &qns_gem_noc_cnoc, &qns_llcc= }, + .link_nodes =3D { &qns_gem_noc_cnoc, &qns_llcc }, }; =20 static struct qcom_icc_qosbox qnm_mnoc_sf_qos =3D { @@ -522,7 +522,7 @@ static struct qcom_icc_node qnm_mnoc_sf =3D { .buswidth =3D 32, .qosbox =3D &qnm_mnoc_sf_qos, .num_links =3D 2, - .link_nodes =3D (struct qcom_icc_node *[]) { &qns_gem_noc_cnoc, &qns_llcc= }, + .link_nodes =3D { &qns_gem_noc_cnoc, &qns_llcc }, }; =20 static struct qcom_icc_qosbox qnm_nsp_gemnoc_qos =3D { @@ -539,7 +539,7 @@ static struct qcom_icc_node qnm_nsp_gemnoc =3D { .buswidth =3D 32, .qosbox =3D &qnm_nsp_gemnoc_qos, .num_links =3D 3, - .link_nodes =3D (struct qcom_icc_node *[]) { &qns_gem_noc_cnoc, &qns_llcc, + .link_nodes =3D { &qns_gem_noc_cnoc, &qns_llcc, &qns_pcie }, }; =20 @@ -557,7 +557,7 @@ static struct qcom_icc_node qnm_pcie =3D { .buswidth =3D 8, .qosbox =3D &qnm_pcie_qos, .num_links =3D 2, - .link_nodes =3D (struct qcom_icc_node *[]) { &qns_gem_noc_cnoc, &qns_llcc= }, + .link_nodes =3D { &qns_gem_noc_cnoc, &qns_llcc }, }; =20 static struct qcom_icc_qosbox qnm_snoc_gc_qos =3D { @@ -574,7 +574,7 @@ static struct qcom_icc_node qnm_snoc_gc =3D { .buswidth =3D 8, .qosbox =3D &qnm_snoc_gc_qos, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qns_llcc }, + .link_nodes =3D { &qns_llcc }, }; =20 static struct qcom_icc_qosbox qnm_snoc_sf_qos =3D { @@ -591,7 +591,7 @@ static struct qcom_icc_node qnm_snoc_sf =3D { .buswidth =3D 16, .qosbox =3D &qnm_snoc_sf_qos, .num_links =3D 3, - .link_nodes =3D (struct qcom_icc_node *[]) { &qns_gem_noc_cnoc, &qns_llcc, + .link_nodes =3D { &qns_gem_noc_cnoc, &qns_llcc, &qns_pcie }, }; =20 @@ -600,7 +600,7 @@ static struct qcom_icc_node qxm_wlan_q6 =3D { .channels =3D 1, .buswidth =3D 8, .num_links =3D 3, - .link_nodes =3D (struct qcom_icc_node *[]) { &qns_gem_noc_cnoc, &qns_llcc, + .link_nodes =3D { &qns_gem_noc_cnoc, &qns_llcc, &qns_pcie }, }; =20 @@ -609,7 +609,7 @@ static struct qcom_icc_node qxm_lpass_dsp =3D { .channels =3D 1, .buswidth =3D 8, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qns_lpass_ag_noc_gemnoc }, + .link_nodes =3D { &qns_lpass_ag_noc_gemnoc }, }; =20 static struct qcom_icc_node llcc_mc =3D { @@ -617,7 +617,7 @@ static struct qcom_icc_node llcc_mc =3D { .channels =3D 2, .buswidth =3D 4, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &ebi }, + .link_nodes =3D { &ebi }, }; =20 static struct qcom_icc_qosbox qnm_camnoc_hf_qos =3D { @@ -634,7 +634,7 @@ static struct qcom_icc_node qnm_camnoc_hf =3D { .buswidth =3D 32, .qosbox =3D &qnm_camnoc_hf_qos, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qns_mem_noc_hf }, + .link_nodes =3D { &qns_mem_noc_hf }, }; =20 static struct qcom_icc_qosbox qnm_camnoc_icp_qos =3D { @@ -651,7 +651,7 @@ static struct qcom_icc_node qnm_camnoc_icp =3D { .buswidth =3D 8, .qosbox =3D &qnm_camnoc_icp_qos, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qns_mem_noc_sf }, + .link_nodes =3D { &qns_mem_noc_sf }, }; =20 static struct qcom_icc_qosbox qnm_camnoc_sf_qos =3D { @@ -668,7 +668,7 @@ static struct qcom_icc_node qnm_camnoc_sf =3D { .buswidth =3D 32, .qosbox =3D &qnm_camnoc_sf_qos, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qns_mem_noc_sf }, + .link_nodes =3D { &qns_mem_noc_sf }, }; =20 static struct qcom_icc_qosbox qnm_mdp_qos =3D { @@ -685,7 +685,7 @@ static struct qcom_icc_node qnm_mdp =3D { .buswidth =3D 32, .qosbox =3D &qnm_mdp_qos, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qns_mem_noc_hf }, + .link_nodes =3D { &qns_mem_noc_hf }, }; =20 static struct qcom_icc_qosbox qnm_video_qos =3D { @@ -702,7 +702,7 @@ static struct qcom_icc_node qnm_video =3D { .buswidth =3D 32, .qosbox =3D &qnm_video_qos, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qns_mem_noc_sf }, + .link_nodes =3D { &qns_mem_noc_sf }, }; =20 static struct qcom_icc_node qsm_hf_mnoc_cfg =3D { @@ -710,7 +710,7 @@ static struct qcom_icc_node qsm_hf_mnoc_cfg =3D { .channels =3D 1, .buswidth =3D 4, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &srvc_mnoc_hf }, + .link_nodes =3D { &srvc_mnoc_hf }, }; =20 static struct qcom_icc_node qsm_sf_mnoc_cfg =3D { @@ -718,7 +718,7 @@ static struct qcom_icc_node qsm_sf_mnoc_cfg =3D { .channels =3D 1, .buswidth =3D 4, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &srvc_mnoc_sf }, + .link_nodes =3D { &srvc_mnoc_sf }, }; =20 static struct qcom_icc_node qxm_nsp =3D { @@ -726,7 +726,7 @@ static struct qcom_icc_node qxm_nsp =3D { .channels =3D 2, .buswidth =3D 32, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qns_nsp_gemnoc }, + .link_nodes =3D { &qns_nsp_gemnoc }, }; =20 static struct qcom_icc_node qsm_pcie_anoc_cfg =3D { @@ -734,7 +734,7 @@ static struct qcom_icc_node qsm_pcie_anoc_cfg =3D { .channels =3D 1, .buswidth =3D 4, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &srvc_pcie_aggre_noc }, + .link_nodes =3D { &srvc_pcie_aggre_noc }, }; =20 static struct qcom_icc_qosbox xm_pcie3_0_qos =3D { @@ -751,7 +751,7 @@ static struct qcom_icc_node xm_pcie3_0 =3D { .buswidth =3D 8, .qosbox =3D &xm_pcie3_0_qos, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qns_pcie_mem_noc }, + .link_nodes =3D { &qns_pcie_mem_noc }, }; =20 static struct qcom_icc_qosbox xm_pcie3_1_qos =3D { @@ -768,7 +768,7 @@ static struct qcom_icc_node xm_pcie3_1 =3D { .buswidth =3D 8, .qosbox =3D &xm_pcie3_1_qos, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qns_pcie_mem_noc }, + .link_nodes =3D { &qns_pcie_mem_noc }, }; =20 static struct qcom_icc_node qnm_aggre1_noc =3D { @@ -776,7 +776,7 @@ static struct qcom_icc_node qnm_aggre1_noc =3D { .channels =3D 1, .buswidth =3D 16, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qns_gemnoc_sf }, + .link_nodes =3D { &qns_gemnoc_sf }, }; =20 static struct qcom_icc_node qnm_aggre2_noc =3D { @@ -784,7 +784,7 @@ static struct qcom_icc_node qnm_aggre2_noc =3D { .channels =3D 1, .buswidth =3D 16, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qns_gemnoc_sf }, + .link_nodes =3D { &qns_gemnoc_sf }, }; =20 static struct qcom_icc_qosbox qnm_apss_noc_qos =3D { @@ -801,7 +801,7 @@ static struct qcom_icc_node qnm_apss_noc =3D { .buswidth =3D 4, .qosbox =3D &qnm_apss_noc_qos, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qns_gemnoc_sf }, + .link_nodes =3D { &qns_gemnoc_sf }, }; =20 static struct qcom_icc_qosbox qnm_cnoc_data_qos =3D { @@ -818,7 +818,7 @@ static struct qcom_icc_node qnm_cnoc_data =3D { .buswidth =3D 8, .qosbox =3D &qnm_cnoc_data_qos, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qns_gemnoc_sf }, + .link_nodes =3D { &qns_gemnoc_sf }, }; =20 static struct qcom_icc_qosbox qxm_pimem_qos =3D { @@ -835,7 +835,7 @@ static struct qcom_icc_node qxm_pimem =3D { .buswidth =3D 8, .qosbox =3D &qxm_pimem_qos, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qns_gemnoc_gc }, + .link_nodes =3D { &qns_gemnoc_gc }, }; =20 static struct qcom_icc_qosbox xm_gic_qos =3D { @@ -852,7 +852,7 @@ static struct qcom_icc_node xm_gic =3D { .buswidth =3D 8, .qosbox =3D &xm_gic_qos, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qns_gemnoc_gc }, + .link_nodes =3D { &qns_gemnoc_gc }, }; =20 static struct qcom_icc_node qns_a1noc_snoc =3D { @@ -860,7 +860,7 @@ static struct qcom_icc_node qns_a1noc_snoc =3D { .channels =3D 1, .buswidth =3D 16, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qnm_aggre1_noc }, + .link_nodes =3D { &qnm_aggre1_noc }, }; =20 static struct qcom_icc_node qns_a2noc_snoc =3D { @@ -868,7 +868,7 @@ static struct qcom_icc_node qns_a2noc_snoc =3D { .channels =3D 1, .buswidth =3D 16, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qnm_aggre2_noc }, + .link_nodes =3D { &qnm_aggre2_noc }, }; =20 static struct qcom_icc_node qup0_core_slave =3D { @@ -1079,7 +1079,7 @@ static struct qcom_icc_node qss_mnoc_hf_cfg =3D { .channels =3D 1, .buswidth =3D 4, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qsm_hf_mnoc_cfg }, + .link_nodes =3D { &qsm_hf_mnoc_cfg }, }; =20 static struct qcom_icc_node qss_mnoc_sf_cfg =3D { @@ -1087,7 +1087,7 @@ static struct qcom_icc_node qss_mnoc_sf_cfg =3D { .channels =3D 1, .buswidth =3D 4, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qsm_sf_mnoc_cfg }, + .link_nodes =3D { &qsm_sf_mnoc_cfg }, }; =20 static struct qcom_icc_node qss_nsp_qtb_cfg =3D { @@ -1102,7 +1102,7 @@ static struct qcom_icc_node qss_pcie_anoc_cfg =3D { .channels =3D 1, .buswidth =3D 4, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qsm_pcie_anoc_cfg }, + .link_nodes =3D { &qsm_pcie_anoc_cfg }, }; =20 static struct qcom_icc_node qss_wlan_q6_throttle_cfg =3D { @@ -1201,7 +1201,7 @@ static struct qcom_icc_node qss_cfg =3D { .channels =3D 1, .buswidth =3D 4, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qsm_cfg }, + .link_nodes =3D { &qsm_cfg }, }; =20 static struct qcom_icc_node qss_ddrss_cfg =3D { @@ -1251,7 +1251,7 @@ static struct qcom_icc_node qns_gem_noc_cnoc =3D { .channels =3D 1, .buswidth =3D 16, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qnm_gemnoc_cnoc }, + .link_nodes =3D { &qnm_gemnoc_cnoc }, }; =20 static struct qcom_icc_node qns_llcc =3D { @@ -1259,7 +1259,7 @@ static struct qcom_icc_node qns_llcc =3D { .channels =3D 2, .buswidth =3D 16, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &llcc_mc }, + .link_nodes =3D { &llcc_mc }, }; =20 static struct qcom_icc_node qns_pcie =3D { @@ -1267,7 +1267,7 @@ static struct qcom_icc_node qns_pcie =3D { .channels =3D 1, .buswidth =3D 8, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qnm_gemnoc_pcie }, + .link_nodes =3D { &qnm_gemnoc_pcie }, }; =20 static struct qcom_icc_node qns_lpass_ag_noc_gemnoc =3D { @@ -1275,7 +1275,7 @@ static struct qcom_icc_node qns_lpass_ag_noc_gemnoc = =3D { .channels =3D 1, .buswidth =3D 16, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qnm_lpass_gemnoc }, + .link_nodes =3D { &qnm_lpass_gemnoc }, }; =20 static struct qcom_icc_node ebi =3D { @@ -1290,7 +1290,7 @@ static struct qcom_icc_node qns_mem_noc_hf =3D { .channels =3D 2, .buswidth =3D 32, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qnm_mnoc_hf }, + .link_nodes =3D { &qnm_mnoc_hf }, }; =20 static struct qcom_icc_node qns_mem_noc_sf =3D { @@ -1298,7 +1298,7 @@ static struct qcom_icc_node qns_mem_noc_sf =3D { .channels =3D 2, .buswidth =3D 32, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qnm_mnoc_sf }, + .link_nodes =3D { &qnm_mnoc_sf }, }; =20 static struct qcom_icc_node srvc_mnoc_hf =3D { @@ -1320,7 +1320,7 @@ static struct qcom_icc_node qns_nsp_gemnoc =3D { .channels =3D 2, .buswidth =3D 32, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qnm_nsp_gemnoc }, + .link_nodes =3D { &qnm_nsp_gemnoc }, }; =20 static struct qcom_icc_node qns_pcie_mem_noc =3D { @@ -1328,7 +1328,7 @@ static struct qcom_icc_node qns_pcie_mem_noc =3D { .channels =3D 1, .buswidth =3D 8, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qnm_pcie }, + .link_nodes =3D { &qnm_pcie }, }; =20 static struct qcom_icc_node srvc_pcie_aggre_noc =3D { @@ -1343,7 +1343,7 @@ static struct qcom_icc_node qns_gemnoc_gc =3D { .channels =3D 1, .buswidth =3D 8, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qnm_snoc_gc }, + .link_nodes =3D { &qnm_snoc_gc }, }; =20 static struct qcom_icc_node qns_gemnoc_sf =3D { @@ -1351,7 +1351,7 @@ static struct qcom_icc_node qns_gemnoc_sf =3D { .channels =3D 1, .buswidth =3D 16, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qnm_snoc_sf }, + .link_nodes =3D { &qnm_snoc_sf }, }; =20 static struct qcom_icc_bcm bcm_acv =3D { diff --git a/drivers/interconnect/qcom/sa8775p.c b/drivers/interconnect/qco= m/sa8775p.c index 04b4abbf44875c767ac67c552b36a8c64a06b2c3..d144e8cb5d1e3a69410975bd6b7= abd9578c01407 100644 --- a/drivers/interconnect/qcom/sa8775p.c +++ b/drivers/interconnect/qcom/sa8775p.c @@ -214,7 +214,7 @@ static struct qcom_icc_node qxm_qup3 =3D { .channels =3D 1, .buswidth =3D 8, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qns_a1noc_snoc }, + .link_nodes =3D { &qns_a1noc_snoc }, }; =20 static struct qcom_icc_node xm_emac_0 =3D { @@ -222,7 +222,7 @@ static struct qcom_icc_node xm_emac_0 =3D { .channels =3D 1, .buswidth =3D 8, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qns_a1noc_snoc }, + .link_nodes =3D { &qns_a1noc_snoc }, }; =20 static struct qcom_icc_node xm_emac_1 =3D { @@ -230,7 +230,7 @@ static struct qcom_icc_node xm_emac_1 =3D { .channels =3D 1, .buswidth =3D 8, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qns_a1noc_snoc }, + .link_nodes =3D { &qns_a1noc_snoc }, }; =20 static struct qcom_icc_node xm_sdc1 =3D { @@ -238,7 +238,7 @@ static struct qcom_icc_node xm_sdc1 =3D { .channels =3D 1, .buswidth =3D 8, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qns_a1noc_snoc }, + .link_nodes =3D { &qns_a1noc_snoc }, }; =20 static struct qcom_icc_node xm_ufs_mem =3D { @@ -246,7 +246,7 @@ static struct qcom_icc_node xm_ufs_mem =3D { .channels =3D 1, .buswidth =3D 8, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qns_a1noc_snoc }, + .link_nodes =3D { &qns_a1noc_snoc }, }; =20 static struct qcom_icc_node xm_usb2_2 =3D { @@ -254,7 +254,7 @@ static struct qcom_icc_node xm_usb2_2 =3D { .channels =3D 1, .buswidth =3D 8, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qns_a1noc_snoc }, + .link_nodes =3D { &qns_a1noc_snoc }, }; =20 static struct qcom_icc_node xm_usb3_0 =3D { @@ -262,7 +262,7 @@ static struct qcom_icc_node xm_usb3_0 =3D { .channels =3D 1, .buswidth =3D 8, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qns_a1noc_snoc }, + .link_nodes =3D { &qns_a1noc_snoc }, }; =20 static struct qcom_icc_node xm_usb3_1 =3D { @@ -270,7 +270,7 @@ static struct qcom_icc_node xm_usb3_1 =3D { .channels =3D 1, .buswidth =3D 8, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qns_a1noc_snoc }, + .link_nodes =3D { &qns_a1noc_snoc }, }; =20 static struct qcom_icc_node qhm_qdss_bam =3D { @@ -278,7 +278,7 @@ static struct qcom_icc_node qhm_qdss_bam =3D { .channels =3D 1, .buswidth =3D 4, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qns_a2noc_snoc }, + .link_nodes =3D { &qns_a2noc_snoc }, }; =20 static struct qcom_icc_node qhm_qup0 =3D { @@ -286,7 +286,7 @@ static struct qcom_icc_node qhm_qup0 =3D { .channels =3D 1, .buswidth =3D 4, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qns_a2noc_snoc }, + .link_nodes =3D { &qns_a2noc_snoc }, }; =20 static struct qcom_icc_node qhm_qup1 =3D { @@ -294,7 +294,7 @@ static struct qcom_icc_node qhm_qup1 =3D { .channels =3D 1, .buswidth =3D 4, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qns_a2noc_snoc }, + .link_nodes =3D { &qns_a2noc_snoc }, }; =20 static struct qcom_icc_node qhm_qup2 =3D { @@ -302,7 +302,7 @@ static struct qcom_icc_node qhm_qup2 =3D { .channels =3D 1, .buswidth =3D 4, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qns_a2noc_snoc }, + .link_nodes =3D { &qns_a2noc_snoc }, }; =20 static struct qcom_icc_node qnm_cnoc_datapath =3D { @@ -310,7 +310,7 @@ static struct qcom_icc_node qnm_cnoc_datapath =3D { .channels =3D 1, .buswidth =3D 8, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qns_a2noc_snoc }, + .link_nodes =3D { &qns_a2noc_snoc }, }; =20 static struct qcom_icc_node qxm_crypto_0 =3D { @@ -318,7 +318,7 @@ static struct qcom_icc_node qxm_crypto_0 =3D { .channels =3D 1, .buswidth =3D 8, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qns_a2noc_snoc }, + .link_nodes =3D { &qns_a2noc_snoc }, }; =20 static struct qcom_icc_node qxm_crypto_1 =3D { @@ -326,7 +326,7 @@ static struct qcom_icc_node qxm_crypto_1 =3D { .channels =3D 1, .buswidth =3D 8, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qns_a2noc_snoc }, + .link_nodes =3D { &qns_a2noc_snoc }, }; =20 static struct qcom_icc_node qxm_ipa =3D { @@ -334,7 +334,7 @@ static struct qcom_icc_node qxm_ipa =3D { .channels =3D 1, .buswidth =3D 8, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qns_a2noc_snoc }, + .link_nodes =3D { &qns_a2noc_snoc }, }; =20 static struct qcom_icc_node xm_qdss_etr_0 =3D { @@ -342,7 +342,7 @@ static struct qcom_icc_node xm_qdss_etr_0 =3D { .channels =3D 1, .buswidth =3D 8, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qns_a2noc_snoc }, + .link_nodes =3D { &qns_a2noc_snoc }, }; =20 static struct qcom_icc_node xm_qdss_etr_1 =3D { @@ -350,7 +350,7 @@ static struct qcom_icc_node xm_qdss_etr_1 =3D { .channels =3D 1, .buswidth =3D 8, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qns_a2noc_snoc }, + .link_nodes =3D { &qns_a2noc_snoc }, }; =20 static struct qcom_icc_node xm_ufs_card =3D { @@ -358,7 +358,7 @@ static struct qcom_icc_node xm_ufs_card =3D { .channels =3D 1, .buswidth =3D 8, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qns_a2noc_snoc }, + .link_nodes =3D { &qns_a2noc_snoc }, }; =20 static struct qcom_icc_node qup0_core_master =3D { @@ -366,7 +366,7 @@ static struct qcom_icc_node qup0_core_master =3D { .channels =3D 1, .buswidth =3D 4, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qup0_core_slave }, + .link_nodes =3D { &qup0_core_slave }, }; =20 static struct qcom_icc_node qup1_core_master =3D { @@ -374,7 +374,7 @@ static struct qcom_icc_node qup1_core_master =3D { .channels =3D 1, .buswidth =3D 4, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qup1_core_slave }, + .link_nodes =3D { &qup1_core_slave }, }; =20 static struct qcom_icc_node qup2_core_master =3D { @@ -382,7 +382,7 @@ static struct qcom_icc_node qup2_core_master =3D { .channels =3D 1, .buswidth =3D 4, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qup2_core_slave }, + .link_nodes =3D { &qup2_core_slave }, }; =20 static struct qcom_icc_node qup3_core_master =3D { @@ -390,7 +390,7 @@ static struct qcom_icc_node qup3_core_master =3D { .channels =3D 1, .buswidth =3D 4, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qup3_core_slave }, + .link_nodes =3D { &qup3_core_slave }, }; =20 static struct qcom_icc_node qnm_gemnoc_cnoc =3D { @@ -398,7 +398,7 @@ static struct qcom_icc_node qnm_gemnoc_cnoc =3D { .channels =3D 1, .buswidth =3D 16, .num_links =3D 82, - .link_nodes =3D (struct qcom_icc_node *[]) { &qhs_ahb2phy0, &qhs_ahb2phy1, + .link_nodes =3D { &qhs_ahb2phy0, &qhs_ahb2phy1, &qhs_ahb2phy2, &qhs_ahb2phy3, &qhs_anoc_throttle_cfg, &qhs_aoss, &qhs_apss, &qhs_boot_rom, @@ -446,7 +446,7 @@ static struct qcom_icc_node qnm_gemnoc_pcie =3D { .channels =3D 1, .buswidth =3D 16, .num_links =3D 2, - .link_nodes =3D (struct qcom_icc_node *[]) { &xs_pcie_0, &xs_pcie_1 }, + .link_nodes =3D { &xs_pcie_0, &xs_pcie_1 }, }; =20 static struct qcom_icc_node qnm_cnoc_dc_noc =3D { @@ -454,7 +454,7 @@ static struct qcom_icc_node qnm_cnoc_dc_noc =3D { .channels =3D 1, .buswidth =3D 4, .num_links =3D 2, - .link_nodes =3D (struct qcom_icc_node *[]) { &qhs_llcc, &qns_gemnoc }, + .link_nodes =3D { &qhs_llcc, &qns_gemnoc }, }; =20 static struct qcom_icc_node alm_gpu_tcu =3D { @@ -462,7 +462,7 @@ static struct qcom_icc_node alm_gpu_tcu =3D { .channels =3D 1, .buswidth =3D 8, .num_links =3D 2, - .link_nodes =3D (struct qcom_icc_node *[]) { &qns_gem_noc_cnoc, &qns_llcc= }, + .link_nodes =3D { &qns_gem_noc_cnoc, &qns_llcc }, }; =20 static struct qcom_icc_node alm_pcie_tcu =3D { @@ -470,7 +470,7 @@ static struct qcom_icc_node alm_pcie_tcu =3D { .channels =3D 1, .buswidth =3D 8, .num_links =3D 2, - .link_nodes =3D (struct qcom_icc_node *[]) { &qns_gem_noc_cnoc, &qns_llcc= }, + .link_nodes =3D { &qns_gem_noc_cnoc, &qns_llcc }, }; =20 static struct qcom_icc_node alm_sys_tcu =3D { @@ -478,7 +478,7 @@ static struct qcom_icc_node alm_sys_tcu =3D { .channels =3D 1, .buswidth =3D 8, .num_links =3D 2, - .link_nodes =3D (struct qcom_icc_node *[]) { &qns_gem_noc_cnoc, &qns_llcc= }, + .link_nodes =3D { &qns_gem_noc_cnoc, &qns_llcc }, }; =20 static struct qcom_icc_node chm_apps =3D { @@ -486,7 +486,7 @@ static struct qcom_icc_node chm_apps =3D { .channels =3D 4, .buswidth =3D 32, .num_links =3D 3, - .link_nodes =3D (struct qcom_icc_node *[]) { &qns_gem_noc_cnoc, &qns_llcc, + .link_nodes =3D { &qns_gem_noc_cnoc, &qns_llcc, &qns_pcie }, }; =20 @@ -495,7 +495,7 @@ static struct qcom_icc_node qnm_cmpnoc0 =3D { .channels =3D 2, .buswidth =3D 32, .num_links =3D 2, - .link_nodes =3D (struct qcom_icc_node *[]) { &qns_gem_noc_cnoc, &qns_llcc= }, + .link_nodes =3D { &qns_gem_noc_cnoc, &qns_llcc }, }; =20 static struct qcom_icc_node qnm_cmpnoc1 =3D { @@ -503,7 +503,7 @@ static struct qcom_icc_node qnm_cmpnoc1 =3D { .channels =3D 2, .buswidth =3D 32, .num_links =3D 2, - .link_nodes =3D (struct qcom_icc_node *[]) { &qns_gem_noc_cnoc, &qns_llcc= }, + .link_nodes =3D { &qns_gem_noc_cnoc, &qns_llcc }, }; =20 static struct qcom_icc_node qnm_gemnoc_cfg =3D { @@ -511,7 +511,7 @@ static struct qcom_icc_node qnm_gemnoc_cfg =3D { .channels =3D 1, .buswidth =3D 4, .num_links =3D 4, - .link_nodes =3D (struct qcom_icc_node *[]) { &srvc_even_gemnoc, &srvc_odd= _gemnoc, + .link_nodes =3D { &srvc_even_gemnoc, &srvc_odd_gemnoc, &srvc_sys_gemnoc, &srvc_sys_gemnoc_2 }, }; =20 @@ -520,7 +520,7 @@ static struct qcom_icc_node qnm_gpdsp_sail =3D { .channels =3D 1, .buswidth =3D 16, .num_links =3D 2, - .link_nodes =3D (struct qcom_icc_node *[]) { &qns_gem_noc_cnoc, &qns_llcc= }, + .link_nodes =3D { &qns_gem_noc_cnoc, &qns_llcc }, }; =20 static struct qcom_icc_node qnm_gpu =3D { @@ -528,7 +528,7 @@ static struct qcom_icc_node qnm_gpu =3D { .channels =3D 2, .buswidth =3D 32, .num_links =3D 2, - .link_nodes =3D (struct qcom_icc_node *[]) { &qns_gem_noc_cnoc, &qns_llcc= }, + .link_nodes =3D { &qns_gem_noc_cnoc, &qns_llcc }, }; =20 static struct qcom_icc_node qnm_mnoc_hf =3D { @@ -536,7 +536,7 @@ static struct qcom_icc_node qnm_mnoc_hf =3D { .channels =3D 2, .buswidth =3D 32, .num_links =3D 2, - .link_nodes =3D (struct qcom_icc_node *[]) { &qns_llcc, &qns_pcie }, + .link_nodes =3D { &qns_llcc, &qns_pcie }, }; =20 static struct qcom_icc_node qnm_mnoc_sf =3D { @@ -544,7 +544,7 @@ static struct qcom_icc_node qnm_mnoc_sf =3D { .channels =3D 2, .buswidth =3D 32, .num_links =3D 3, - .link_nodes =3D (struct qcom_icc_node *[]) { &qns_gem_noc_cnoc, &qns_llcc, + .link_nodes =3D { &qns_gem_noc_cnoc, &qns_llcc, &qns_pcie }, }; =20 @@ -553,7 +553,7 @@ static struct qcom_icc_node qnm_pcie =3D { .channels =3D 1, .buswidth =3D 32, .num_links =3D 2, - .link_nodes =3D (struct qcom_icc_node *[]) { &qns_gem_noc_cnoc, &qns_llcc= }, + .link_nodes =3D { &qns_gem_noc_cnoc, &qns_llcc }, }; =20 static struct qcom_icc_node qnm_snoc_gc =3D { @@ -561,7 +561,7 @@ static struct qcom_icc_node qnm_snoc_gc =3D { .channels =3D 1, .buswidth =3D 8, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qns_llcc }, + .link_nodes =3D { &qns_llcc }, }; =20 static struct qcom_icc_node qnm_snoc_sf =3D { @@ -569,7 +569,7 @@ static struct qcom_icc_node qnm_snoc_sf =3D { .channels =3D 1, .buswidth =3D 16, .num_links =3D 3, - .link_nodes =3D (struct qcom_icc_node *[]) { &qns_gem_noc_cnoc, &qns_llcc, + .link_nodes =3D { &qns_gem_noc_cnoc, &qns_llcc, &qns_pcie }, }; =20 @@ -578,7 +578,7 @@ static struct qcom_icc_node qxm_dsp0 =3D { .channels =3D 1, .buswidth =3D 16, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qns_gp_dsp_sail_noc }, + .link_nodes =3D { &qns_gp_dsp_sail_noc }, }; =20 static struct qcom_icc_node qxm_dsp1 =3D { @@ -586,7 +586,7 @@ static struct qcom_icc_node qxm_dsp1 =3D { .channels =3D 1, .buswidth =3D 16, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qns_gp_dsp_sail_noc }, + .link_nodes =3D { &qns_gp_dsp_sail_noc }, }; =20 static struct qcom_icc_node qhm_config_noc =3D { @@ -594,7 +594,7 @@ static struct qcom_icc_node qhm_config_noc =3D { .channels =3D 1, .buswidth =3D 4, .num_links =3D 6, - .link_nodes =3D (struct qcom_icc_node *[]) { &qhs_lpass_core, &qhs_lpass_= lpi, + .link_nodes =3D { &qhs_lpass_core, &qhs_lpass_lpi, &qhs_lpass_mpu, &qhs_lpass_top, &srvc_niu_aml_noc, &srvc_niu_lpass_agnoc }, }; @@ -604,7 +604,7 @@ static struct qcom_icc_node qxm_lpass_dsp =3D { .channels =3D 1, .buswidth =3D 8, .num_links =3D 4, - .link_nodes =3D (struct qcom_icc_node *[]) { &qhs_lpass_top, &qns_sysnoc, + .link_nodes =3D { &qhs_lpass_top, &qns_sysnoc, &srvc_niu_aml_noc, &srvc_niu_lpass_agnoc }, }; =20 @@ -613,7 +613,7 @@ static struct qcom_icc_node llcc_mc =3D { .channels =3D 8, .buswidth =3D 4, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &ebi }, + .link_nodes =3D { &ebi }, }; =20 static struct qcom_icc_node qnm_camnoc_hf =3D { @@ -621,7 +621,7 @@ static struct qcom_icc_node qnm_camnoc_hf =3D { .channels =3D 1, .buswidth =3D 32, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qns_mem_noc_hf }, + .link_nodes =3D { &qns_mem_noc_hf }, }; =20 static struct qcom_icc_node qnm_camnoc_icp =3D { @@ -629,7 +629,7 @@ static struct qcom_icc_node qnm_camnoc_icp =3D { .channels =3D 1, .buswidth =3D 8, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qns_mem_noc_sf }, + .link_nodes =3D { &qns_mem_noc_sf }, }; =20 static struct qcom_icc_node qnm_camnoc_sf =3D { @@ -637,7 +637,7 @@ static struct qcom_icc_node qnm_camnoc_sf =3D { .channels =3D 1, .buswidth =3D 32, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qns_mem_noc_sf }, + .link_nodes =3D { &qns_mem_noc_sf }, }; =20 static struct qcom_icc_node qnm_mdp0_0 =3D { @@ -645,7 +645,7 @@ static struct qcom_icc_node qnm_mdp0_0 =3D { .channels =3D 1, .buswidth =3D 32, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qns_mem_noc_hf }, + .link_nodes =3D { &qns_mem_noc_hf }, }; =20 static struct qcom_icc_node qnm_mdp0_1 =3D { @@ -653,7 +653,7 @@ static struct qcom_icc_node qnm_mdp0_1 =3D { .channels =3D 1, .buswidth =3D 32, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qns_mem_noc_hf }, + .link_nodes =3D { &qns_mem_noc_hf }, }; =20 static struct qcom_icc_node qnm_mdp1_0 =3D { @@ -661,7 +661,7 @@ static struct qcom_icc_node qnm_mdp1_0 =3D { .channels =3D 1, .buswidth =3D 32, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qns_mem_noc_hf }, + .link_nodes =3D { &qns_mem_noc_hf }, }; =20 static struct qcom_icc_node qnm_mdp1_1 =3D { @@ -669,7 +669,7 @@ static struct qcom_icc_node qnm_mdp1_1 =3D { .channels =3D 1, .buswidth =3D 32, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qns_mem_noc_hf }, + .link_nodes =3D { &qns_mem_noc_hf }, }; =20 static struct qcom_icc_node qnm_mnoc_hf_cfg =3D { @@ -677,7 +677,7 @@ static struct qcom_icc_node qnm_mnoc_hf_cfg =3D { .channels =3D 1, .buswidth =3D 4, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &srvc_mnoc_hf }, + .link_nodes =3D { &srvc_mnoc_hf }, }; =20 static struct qcom_icc_node qnm_mnoc_sf_cfg =3D { @@ -685,7 +685,7 @@ static struct qcom_icc_node qnm_mnoc_sf_cfg =3D { .channels =3D 1, .buswidth =3D 4, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &srvc_mnoc_sf }, + .link_nodes =3D { &srvc_mnoc_sf }, }; =20 static struct qcom_icc_node qnm_video0 =3D { @@ -693,7 +693,7 @@ static struct qcom_icc_node qnm_video0 =3D { .channels =3D 1, .buswidth =3D 32, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qns_mem_noc_sf }, + .link_nodes =3D { &qns_mem_noc_sf }, }; =20 static struct qcom_icc_node qnm_video1 =3D { @@ -701,7 +701,7 @@ static struct qcom_icc_node qnm_video1 =3D { .channels =3D 1, .buswidth =3D 32, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qns_mem_noc_sf }, + .link_nodes =3D { &qns_mem_noc_sf }, }; =20 static struct qcom_icc_node qnm_video_cvp =3D { @@ -709,7 +709,7 @@ static struct qcom_icc_node qnm_video_cvp =3D { .channels =3D 1, .buswidth =3D 32, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qns_mem_noc_sf }, + .link_nodes =3D { &qns_mem_noc_sf }, }; =20 static struct qcom_icc_node qnm_video_v_cpu =3D { @@ -717,7 +717,7 @@ static struct qcom_icc_node qnm_video_v_cpu =3D { .channels =3D 1, .buswidth =3D 8, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qns_mem_noc_sf }, + .link_nodes =3D { &qns_mem_noc_sf }, }; =20 static struct qcom_icc_node qhm_nsp_noc_config =3D { @@ -725,7 +725,7 @@ static struct qcom_icc_node qhm_nsp_noc_config =3D { .channels =3D 1, .buswidth =3D 4, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &service_nsp_noc }, + .link_nodes =3D { &service_nsp_noc }, }; =20 static struct qcom_icc_node qxm_nsp =3D { @@ -733,7 +733,7 @@ static struct qcom_icc_node qxm_nsp =3D { .channels =3D 2, .buswidth =3D 32, .num_links =3D 2, - .link_nodes =3D (struct qcom_icc_node *[]) { &qns_hcp, &qns_nsp_gemnoc }, + .link_nodes =3D { &qns_hcp, &qns_nsp_gemnoc }, }; =20 static struct qcom_icc_node qhm_nspb_noc_config =3D { @@ -741,7 +741,7 @@ static struct qcom_icc_node qhm_nspb_noc_config =3D { .channels =3D 1, .buswidth =3D 4, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &service_nspb_noc }, + .link_nodes =3D { &service_nspb_noc }, }; =20 static struct qcom_icc_node qxm_nspb =3D { @@ -749,7 +749,7 @@ static struct qcom_icc_node qxm_nspb =3D { .channels =3D 2, .buswidth =3D 32, .num_links =3D 2, - .link_nodes =3D (struct qcom_icc_node *[]) { &qns_nspb_hcp, &qns_nspb_gem= noc }, + .link_nodes =3D { &qns_nspb_hcp, &qns_nspb_gemnoc }, }; =20 static struct qcom_icc_node xm_pcie3_0 =3D { @@ -757,7 +757,7 @@ static struct qcom_icc_node xm_pcie3_0 =3D { .channels =3D 1, .buswidth =3D 16, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qns_pcie_mem_noc }, + .link_nodes =3D { &qns_pcie_mem_noc }, }; =20 static struct qcom_icc_node xm_pcie3_1 =3D { @@ -765,7 +765,7 @@ static struct qcom_icc_node xm_pcie3_1 =3D { .channels =3D 1, .buswidth =3D 32, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qns_pcie_mem_noc }, + .link_nodes =3D { &qns_pcie_mem_noc }, }; =20 static struct qcom_icc_node qhm_gic =3D { @@ -773,7 +773,7 @@ static struct qcom_icc_node qhm_gic =3D { .channels =3D 1, .buswidth =3D 4, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qns_gemnoc_sf }, + .link_nodes =3D { &qns_gemnoc_sf }, }; =20 static struct qcom_icc_node qnm_aggre1_noc =3D { @@ -781,7 +781,7 @@ static struct qcom_icc_node qnm_aggre1_noc =3D { .channels =3D 1, .buswidth =3D 32, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qns_gemnoc_sf }, + .link_nodes =3D { &qns_gemnoc_sf }, }; =20 static struct qcom_icc_node qnm_aggre2_noc =3D { @@ -789,7 +789,7 @@ static struct qcom_icc_node qnm_aggre2_noc =3D { .channels =3D 1, .buswidth =3D 16, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qns_gemnoc_sf }, + .link_nodes =3D { &qns_gemnoc_sf }, }; =20 static struct qcom_icc_node qnm_lpass_noc =3D { @@ -797,7 +797,7 @@ static struct qcom_icc_node qnm_lpass_noc =3D { .channels =3D 1, .buswidth =3D 16, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qns_gemnoc_sf }, + .link_nodes =3D { &qns_gemnoc_sf }, }; =20 static struct qcom_icc_node qnm_snoc_cfg =3D { @@ -805,7 +805,7 @@ static struct qcom_icc_node qnm_snoc_cfg =3D { .channels =3D 1, .buswidth =3D 4, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &srvc_snoc }, + .link_nodes =3D { &srvc_snoc }, }; =20 static struct qcom_icc_node qxm_pimem =3D { @@ -813,7 +813,7 @@ static struct qcom_icc_node qxm_pimem =3D { .channels =3D 1, .buswidth =3D 8, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qns_gemnoc_gc }, + .link_nodes =3D { &qns_gemnoc_gc }, }; =20 static struct qcom_icc_node xm_gic =3D { @@ -821,7 +821,7 @@ static struct qcom_icc_node xm_gic =3D { .channels =3D 1, .buswidth =3D 8, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qns_gemnoc_gc }, + .link_nodes =3D { &qns_gemnoc_gc }, }; =20 static struct qcom_icc_node qns_a1noc_snoc =3D { @@ -829,7 +829,7 @@ static struct qcom_icc_node qns_a1noc_snoc =3D { .channels =3D 1, .buswidth =3D 32, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qnm_aggre1_noc }, + .link_nodes =3D { &qnm_aggre1_noc }, }; =20 static struct qcom_icc_node qns_a2noc_snoc =3D { @@ -837,7 +837,7 @@ static struct qcom_icc_node qns_a2noc_snoc =3D { .channels =3D 1, .buswidth =3D 16, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qnm_aggre2_noc }, + .link_nodes =3D { &qnm_aggre2_noc }, }; =20 static struct qcom_icc_node qup0_core_slave =3D { @@ -941,7 +941,7 @@ static struct qcom_icc_node qhs_compute0_cfg =3D { .channels =3D 1, .buswidth =3D 4, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qhm_nsp_noc_config }, + .link_nodes =3D { &qhm_nsp_noc_config }, }; =20 static struct qcom_icc_node qhs_compute1_cfg =3D { @@ -949,7 +949,7 @@ static struct qcom_icc_node qhs_compute1_cfg =3D { .channels =3D 1, .buswidth =3D 4, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qhm_nspb_noc_config }, + .link_nodes =3D { &qhm_nspb_noc_config }, }; =20 static struct qcom_icc_node qhs_cpr_cx =3D { @@ -1089,7 +1089,7 @@ static struct qcom_icc_node qhs_lpass_cfg =3D { .channels =3D 1, .buswidth =3D 4, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qhm_config_noc }, + .link_nodes =3D { &qhm_config_noc }, }; =20 static struct qcom_icc_node qhs_lpass_throttle_cfg =3D { @@ -1301,7 +1301,7 @@ static struct qcom_icc_node qns_ddrss_cfg =3D { .channels =3D 1, .buswidth =3D 4, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qnm_cnoc_dc_noc }, + .link_nodes =3D { &qnm_cnoc_dc_noc }, }; =20 static struct qcom_icc_node qns_gpdsp_noc_cfg =3D { @@ -1315,7 +1315,7 @@ static struct qcom_icc_node qns_mnoc_hf_cfg =3D { .channels =3D 1, .buswidth =3D 4, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qnm_mnoc_hf_cfg }, + .link_nodes =3D { &qnm_mnoc_hf_cfg }, }; =20 static struct qcom_icc_node qns_mnoc_sf_cfg =3D { @@ -1323,7 +1323,7 @@ static struct qcom_icc_node qns_mnoc_sf_cfg =3D { .channels =3D 1, .buswidth =3D 4, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qnm_mnoc_sf_cfg }, + .link_nodes =3D { &qnm_mnoc_sf_cfg }, }; =20 static struct qcom_icc_node qns_pcie_anoc_cfg =3D { @@ -1337,7 +1337,7 @@ static struct qcom_icc_node qns_snoc_cfg =3D { .channels =3D 1, .buswidth =3D 4, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qnm_snoc_cfg }, + .link_nodes =3D { &qnm_snoc_cfg }, }; =20 static struct qcom_icc_node qxs_boot_imem =3D { @@ -1393,7 +1393,7 @@ static struct qcom_icc_node qns_gemnoc =3D { .channels =3D 1, .buswidth =3D 4, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qnm_gemnoc_cfg }, + .link_nodes =3D { &qnm_gemnoc_cfg }, }; =20 static struct qcom_icc_node qns_gem_noc_cnoc =3D { @@ -1401,7 +1401,7 @@ static struct qcom_icc_node qns_gem_noc_cnoc =3D { .channels =3D 1, .buswidth =3D 16, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qnm_gemnoc_cnoc }, + .link_nodes =3D { &qnm_gemnoc_cnoc }, }; =20 static struct qcom_icc_node qns_llcc =3D { @@ -1409,7 +1409,7 @@ static struct qcom_icc_node qns_llcc =3D { .channels =3D 6, .buswidth =3D 16, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &llcc_mc }, + .link_nodes =3D { &llcc_mc }, }; =20 static struct qcom_icc_node qns_pcie =3D { @@ -1417,7 +1417,7 @@ static struct qcom_icc_node qns_pcie =3D { .channels =3D 1, .buswidth =3D 16, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qnm_gemnoc_pcie }, + .link_nodes =3D { &qnm_gemnoc_pcie }, }; =20 static struct qcom_icc_node srvc_even_gemnoc =3D { @@ -1449,7 +1449,7 @@ static struct qcom_icc_node qns_gp_dsp_sail_noc =3D { .channels =3D 1, .buswidth =3D 16, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qnm_gpdsp_sail }, + .link_nodes =3D { &qnm_gpdsp_sail }, }; =20 static struct qcom_icc_node qhs_lpass_core =3D { @@ -1481,7 +1481,7 @@ static struct qcom_icc_node qns_sysnoc =3D { .channels =3D 1, .buswidth =3D 16, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qnm_lpass_noc }, + .link_nodes =3D { &qnm_lpass_noc }, }; =20 static struct qcom_icc_node srvc_niu_aml_noc =3D { @@ -1507,7 +1507,7 @@ static struct qcom_icc_node qns_mem_noc_hf =3D { .channels =3D 2, .buswidth =3D 32, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qnm_mnoc_hf }, + .link_nodes =3D { &qnm_mnoc_hf }, }; =20 static struct qcom_icc_node qns_mem_noc_sf =3D { @@ -1515,7 +1515,7 @@ static struct qcom_icc_node qns_mem_noc_sf =3D { .channels =3D 2, .buswidth =3D 32, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qnm_mnoc_sf }, + .link_nodes =3D { &qnm_mnoc_sf }, }; =20 static struct qcom_icc_node srvc_mnoc_hf =3D { @@ -1541,7 +1541,7 @@ static struct qcom_icc_node qns_nsp_gemnoc =3D { .channels =3D 2, .buswidth =3D 32, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qnm_cmpnoc0 }, + .link_nodes =3D { &qnm_cmpnoc0 }, }; =20 static struct qcom_icc_node service_nsp_noc =3D { @@ -1555,7 +1555,7 @@ static struct qcom_icc_node qns_nspb_gemnoc =3D { .channels =3D 2, .buswidth =3D 32, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qnm_cmpnoc1 }, + .link_nodes =3D { &qnm_cmpnoc1 }, }; =20 static struct qcom_icc_node qns_nspb_hcp =3D { @@ -1575,7 +1575,7 @@ static struct qcom_icc_node qns_pcie_mem_noc =3D { .channels =3D 1, .buswidth =3D 32, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qnm_pcie }, + .link_nodes =3D { &qnm_pcie }, }; =20 static struct qcom_icc_node qns_gemnoc_gc =3D { @@ -1583,7 +1583,7 @@ static struct qcom_icc_node qns_gemnoc_gc =3D { .channels =3D 1, .buswidth =3D 8, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qnm_snoc_gc }, + .link_nodes =3D { &qnm_snoc_gc }, }; =20 static struct qcom_icc_node qns_gemnoc_sf =3D { @@ -1591,7 +1591,7 @@ static struct qcom_icc_node qns_gemnoc_sf =3D { .channels =3D 1, .buswidth =3D 16, .num_links =3D 1, - .link_nodes =3D (struct qcom_icc_node *[]) { &qnm_snoc_sf }, + .link_nodes =3D { &qnm_snoc_sf }, }; =20 static struct qcom_icc_node srvc_snoc =3D { --=20 2.47.3