From patchwork Thu Jan 9 16:46:30 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 856132 Received: from mail-wm1-f51.google.com (mail-wm1-f51.google.com [209.85.128.51]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 380C513D24D for ; Thu, 9 Jan 2025 16:46:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.51 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736441197; cv=none; b=LOAJzSMQQN9sR3qT0ZkJ9XAacP48Lldm65JLdLLPqfucWqG463dGhIZA8lr2VU7w0+M3mGupfiwePZ17NMyPaKx54OLGve6OTksfy1bUeBmeqtxQPVpK3QA8gTLHFx359FLbjD9vW2pfy9NYXbsqJa6Gfpi6kQdBzhbW2hwbeqo= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736441197; c=relaxed/simple; bh=/AVkzAOPgvwiIL72WM70n4JqKgAHKLqN9FFosiKbAGQ=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=oCweo/32bRURS33CSXQ7xZutkQiHOYo3N3kc1iiFLmCEa/gqsye/BvdjI/+rSzca1wmNNBcN5q1pUywnCXl0AriZyXzJIzc3BR129unqU8ejo8vs0k8D2k/QYmedYp+7B7gKNRgNVfmRcX3TBQenhFalMyp1m2Wc6ekO9nLUous= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=DnX7fWhN; arc=none smtp.client-ip=209.85.128.51 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="DnX7fWhN" Received: by mail-wm1-f51.google.com with SMTP id 5b1f17b1804b1-434f398a171so1183755e9.2 for ; Thu, 09 Jan 2025 08:46:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1736441193; x=1737045993; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=OgpVdFnlAMFP7IZEUrXDNkQEO8OUBXlWJUJSafg68dA=; b=DnX7fWhNPYTN2UdvBEABXJVe9VIucTgRQm39VtYKImRSTuWqmlrkoj7gQ1+PuhuvHg gGDk1dfmT3qvvAK3knh4q6W8d/GQDY/d2aV6wreYo7C8UPM9Z6SWSSto0m/oK+OhSNd+ c5XNFN7KA1vTmF+joKF00LwL9NqetsYw0L626dEgn/977VDCp2Erqjh1e/3fFWw6z1/K zVIJ6e1+eSJvXfZ+wvQe6Iabab0Ip79idZxaq+CfOmXAVdBmp6hDfRhE9Ag/UJwMteDx kVSgLXy2LiVHTWo1ycclMl6BRa/w1TPmATofXRjrPE8RIT4nj1GwgA8YD81XqE94lA5H 91Mw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736441193; x=1737045993; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=OgpVdFnlAMFP7IZEUrXDNkQEO8OUBXlWJUJSafg68dA=; b=FqgsGcQJZ9r90JeakBlEXHstfgacMvMjflZ0//NFBHnPhxMmX7fHFZiUjMyGLX+eaz cM2bXPFGmaK/xJwMZQt5SdJM6eVz6FdB+UCsotqVfo0Bi31CRasAxaAzsRy8pUJJJUgu D9kX6u2+rCf6UfZgO6NeHbuEWXWTO2InaEFQbzHau3YtQrDK1FyB8D1sY/86XoaiWsqq txpTOPWLNq33m/+kothA6vOnkoaRh20l8ERxOq7kEuiPGc4MND53CCNBrxRqY7nx8rEH LITmIX/pramTKXmJUw0SeML0+uPwk5chwStm0a8pz8i2uXzDAdA9wJSncnQ/XgM/FJFv 6k0Q== X-Forwarded-Encrypted: i=1; AJvYcCURnDbSLOFFItDn6HfAqhTGVN+FMV6ZxtO+qDG71UGd4ZVwyv8uxDEOrS3oRCJMIfMZdIMRENU0yQ==@vger.kernel.org X-Gm-Message-State: AOJu0YwjZ427K5NiWz3aO8HXFpe+0MRy8muzakZX8d0xk5Bd5HZb3Wfa nMqhYsLe06A+WgEC+tayJjSdGbxONApwLi9mZf6ww82U3yx2zNheXv9nWmxNCls= X-Gm-Gg: ASbGncutjTF5X8Hs2bl5iQ5ZnnGgx4RerEzRidpQLsBpu3xwKEhDQxuIIHZu4Rqhqxb xiGVVtEs69hemyUjynSDQIDz1hYEQxFmwZy7D9XYfA7YrLdoI/jdEhDGJRPwi6sVSnz+AyOpmIs NVAMGaGuKk+pniWpNdnaKn0wvGAQqlkDkwIi23I0w2YGbPPBG0zZqdqc8oC++Mwuj1HpN152n4x bmA5CZa+mHlSOMo35mqsoA1gPbQTrc/s8vgSByjCv88LyYuY1+k6hSY+SOXeYXXpC0FG3I= X-Google-Smtp-Source: AGHT+IE+WxYdSw0tgeTlo9L4RMFe5gBH7TrJwlo+GrMX0RpJZXbWeXObf47j1mNDBYIiQ+vWZUDZOA== X-Received: by 2002:a05:600c:35c1:b0:434:a0fd:95d0 with SMTP id 5b1f17b1804b1-436e26ef968mr28966115e9.4.1736441193526; Thu, 09 Jan 2025 08:46:33 -0800 (PST) Received: from krzk-bin.. ([178.197.223.165]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-436e2ddccf4sm61179515e9.19.2025.01.09.08.46.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Jan 2025 08:46:32 -0800 (PST) From: Krzysztof Kozlowski To: Georgi Djakov , linux-arm-msm@vger.kernel.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH] interconnect: sm8750: Add missing const to static qcom_icc_desc Date: Thu, 9 Jan 2025 17:46:30 +0100 Message-ID: <20250109164630.175093-1-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-pm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 The statically allocated 'struct qcom_icc_desc' is not modified by the driver and like all other instances should be const. Signed-off-by: Krzysztof Kozlowski --- drivers/interconnect/qcom/sm8750.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/interconnect/qcom/sm8750.c b/drivers/interconnect/qcom/sm8750.c index 59d8bae1097e..69bc22222075 100644 --- a/drivers/interconnect/qcom/sm8750.c +++ b/drivers/interconnect/qcom/sm8750.c @@ -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,