From patchwork Thu Feb 8 10:50:51 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 198289 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:50ea:b0:106:860b:bbdd with SMTP id r10csp80366dyd; Thu, 8 Feb 2024 02:51:55 -0800 (PST) X-Google-Smtp-Source: AGHT+IGvKAo8WDl39/sA7/b4R0uvhjBKz1yBrleWp7K9mHRTbYYMNXDKi8utQyHRXOoelxX3/oCF X-Received: by 2002:a05:6808:1508:b0:3bf:f384:71de with SMTP id u8-20020a056808150800b003bff38471demr2002418oiw.14.1707389515682; Thu, 08 Feb 2024 02:51:55 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707389515; cv=pass; d=google.com; s=arc-20160816; b=acyrmXvVAJZrmk3Co2be37aEuyqCa7NIkr8Ae+4Wo1aVhZ8Q8qiWRRtGruQQj9+4Eg GMEbz8tNAPXSHhBy8HfLtuzH5znVrozfLcgsYobrOYhTudKkKUChP4TiVVjEgmx3g5Tb dBjkLnEk1hZIbDTwcOQv5p0LT5v5uLQlaNPsE+QoOLHwAlyHgTOU9J76SNFszCZpAVZO vUgp7E90f5puqTi4/7x0dldivav29qWLv36Orp/Qm/7SZO7No59q4VS4noPmdR/jbEfr /ALgxYKu1cDLeZmgSOuST8+a3XK94WadAV4sHRXwGYuzsggzlLYewm5ySOtp9qvJmsC/ c/oA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=FYDFfFg7RSvtFP7frlyaf+j5dtEyxVJJ7Vm/zJ75QMc=; fh=x/L+46MjQdZnGyisAzJ9DX+0wKMEYLJ6FiA9JpGCwxU=; b=aL4QINz7UdmqT0Z3LdKVuQ5+bNCp9aEAibAwCZ+cBUzuD9N5XzxZA+zYeSrLj/aIYo 62oJumnm9gUwpjAJddNnUzHpFqtf9JFbujhcW4SyJ4Yc5a8gHc56rIrpiG0POCyOTvbW TdXV7fy5mDDJUDhSdHvIeWlBoUMlE+gqGdDn1n3Gs218s4+noeXnleOqvAoROPKhFCpa pWMWH1tkMCtFt2pZiK3XBio7teutccSZ3ILw8ysc2oT/cYrHJfBjlJh2z8XvmbNB43vX 8indoMt342bMK6QujZYl96KXDd9aVkze6Qi6PxCpIGU30zHPPJ7koRoqe373vPUewDVc 1ycA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=kixrAS9f; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-57887-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-57887-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org X-Forwarded-Encrypted: i=2; AJvYcCV3rE1xsjEDJwLI/2+dYXnQJu4iZoiB0zB/VbR+hhzxiyhv927FgCPnn7OS+z84mBe9aoVClnKqqflLPAJTAYR113ij2Q== Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id ka6-20020a056a00938600b006e07c7c4eadsi385420pfb.129.2024.02.08.02.51.55 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Feb 2024 02:51:55 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-57887-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=kixrAS9f; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-57887-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-57887-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 710F9282048 for ; Thu, 8 Feb 2024 10:51:55 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C34816F518; Thu, 8 Feb 2024 10:51:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="kixrAS9f" Received: from mail-wm1-f47.google.com (mail-wm1-f47.google.com [209.85.128.47]) (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 D1B9F6DCFE for ; Thu, 8 Feb 2024 10:51:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.47 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707389465; cv=none; b=gYKSY9YwL9v8HZsf2ys0q1urkehjHJ8tr3ox9PXG8VjU5+bI4dm+d1Kuws8sE28okHG6lKmV5F0Qfiw1vXPuwsUmSBwuHPq+L/9NzIjEC/+Rx1DFknjeaMgrts9bE0lfRenr/XccxqRJ/b/GcSExfwfhJBv+HfE5uMq7IUi4ZD4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707389465; c=relaxed/simple; bh=Wdi61ffUtMGjl+wRYrk2Fw25htDwrtpUXzDFtcSRNCs=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=naaro7EElPsosCxSkTMxes+Ic2FUmXybgsGz/vjJIZ1MOgPosxIWkJXR6iTu6AXKvxxg97Xut+PxuZNmNiZG9w4+PPZFw3k4kNEuOo6+knhEKR2ug/pacBg2hm9e+6uRNblRy81DXZ2v7x920z67I7fdy2mNK61NTxU+XgFk9EM= 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=kixrAS9f; arc=none smtp.client-ip=209.85.128.47 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 Received: by mail-wm1-f47.google.com with SMTP id 5b1f17b1804b1-41047386d18so1417025e9.0 for ; Thu, 08 Feb 2024 02:51:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1707389462; x=1707994262; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=FYDFfFg7RSvtFP7frlyaf+j5dtEyxVJJ7Vm/zJ75QMc=; b=kixrAS9fPXiGfoBGR41sFgNLyMLhR/m8kSI2p/pl/2Mc7CmlLFQBSBYVLgjrOdLyGf jvnanPsJELx19bZygFDRnPbPkkQHpS8qq581Vb2xnlOI3otQVLRHSB9wm4MnD+Sg4uGR RtP5eHY+6aReWd0GhYZmS1zOP6g9f/iIR+xuKFOGc4Y7mrdzl+x7ajaTAeY13CwSL30m YsytAn/ceithySg8fRCLWe1umlCL11OhF27SGrdwVQWFX+guLyeHKXLA4l3k96GsloxV NOks2fk1i02lrk3TTqMsGmzlD1JMWutbS44bjAKUpTqSyb+EUyFnzM61+5l4W25SEVks O/ug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707389462; x=1707994262; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=FYDFfFg7RSvtFP7frlyaf+j5dtEyxVJJ7Vm/zJ75QMc=; b=Tufz+mTDwUB8mnxjjE40spUrpGCx6l7KYKEj+T0/0DrQnw9G1kXwGoU/deEqsKeimP BmevnFRGDlO6u/m9lN8jVlRZb1gXI9a8uIrqMUfmpCYUlGlr+xXJW3nFZ2kXRLLMG2kT zN61bSvIwu0xT5fD7Ic1C59fLAR0K4tmudvZQ+RpCKBSSR8S6hVSfyLHE8kHyWYB7+uN k015x4gDUgcFWstFr58wVAZZmh6JnKzHO92Dqy08OeHn7xdYnEqb472VD8TQRdoTrUFz 3yA4rF86xDwj4W0tZC6/NtTkgd/l4Ijs0iE1dBzFBTJnB8TH+z4Zoo/SE0K/U5ZWfT8F nI9g== X-Gm-Message-State: AOJu0Yxsf86qIfx4WzyCbhBgkjQaQbeM11SrEvJyIUQazeUc+xFtyzIW OSpEqPbxhvrC/Gsz5MJzG5lYUdTZBFGm1Hs6X4M0i/EXW03J4WxhfL4MiABrjAA= X-Received: by 2002:a05:6000:1246:b0:33b:2fba:1eab with SMTP id j6-20020a056000124600b0033b2fba1eabmr4969578wrx.30.1707389462054; Thu, 08 Feb 2024 02:51:02 -0800 (PST) X-Forwarded-Encrypted: i=1; AJvYcCURHwTUXhL4gN2IpLIx2PZR+X7r+y7iDOfWT8GJBOeX27YM0XlUWhhBcOiG0xSAanvnDAaAmn2gnSd45WqNrBwRIj9MybfztiDMTt/Rj04LgG0golMzvFnV4lzPq+re/Yb+cnbuquq2h147Y67SqU50zTZ4R0Zj+hyAgWMYewCbHpnzZtrm6ew5AxHYWzOc3k8o5JdZtIcd+Y4NaaPf+2TCX8c2yg9A2wwYOxFvOr02BhUt Received: from krzk-bin.. ([178.197.222.62]) by smtp.gmail.com with ESMTPSA id s1-20020a5d69c1000000b0033b4719eb6esm3308283wrw.27.2024.02.08.02.51.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Feb 2024 02:51:01 -0800 (PST) From: Krzysztof Kozlowski To: Bjorn Andersson , Konrad Dybcio , Georgi Djakov , linux-arm-msm@vger.kernel.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 1/6] interconnect: qcom: msm8909: constify pointer to qcom_icc_node Date: Thu, 8 Feb 2024 11:50:51 +0100 Message-Id: <20240208105056.128448-2-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240208105056.128448-1-krzysztof.kozlowski@linaro.org> References: <20240208105056.128448-1-krzysztof.kozlowski@linaro.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1790327668400859741 X-GMAIL-MSGID: 1790327668400859741 Pointers to struct qcom_icc_node are const. Signed-off-by: Krzysztof Kozlowski --- drivers/interconnect/qcom/msm8909.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/interconnect/qcom/msm8909.c b/drivers/interconnect/qcom/msm8909.c index 23b1a818d774..0d0cd7282f5b 100644 --- a/drivers/interconnect/qcom/msm8909.c +++ b/drivers/interconnect/qcom/msm8909.c @@ -1167,7 +1167,7 @@ static struct qcom_icc_node slv_cats_1 = { .qos.qos_mode = NOC_QOS_MODE_INVALID, }; -static struct qcom_icc_node *msm8909_bimc_nodes[] = { +static struct qcom_icc_node * const msm8909_bimc_nodes[] = { [MAS_APPS_PROC] = &mas_apps_proc, [MAS_OXILI] = &mas_oxili, [MAS_SNOC_BIMC_0] = &mas_snoc_bimc_0, @@ -1196,7 +1196,7 @@ static const struct qcom_icc_desc msm8909_bimc = { .ab_coeff = 154, }; -static struct qcom_icc_node *msm8909_pcnoc_nodes[] = { +static struct qcom_icc_node * const msm8909_pcnoc_nodes[] = { [MAS_AUDIO] = &mas_audio, [MAS_SPDM] = &mas_spdm, [MAS_DEHR] = &mas_dehr, @@ -1263,7 +1263,7 @@ static const struct qcom_icc_desc msm8909_pcnoc = { .qos_offset = 0x7000, }; -static struct qcom_icc_node *msm8909_snoc_nodes[] = { +static struct qcom_icc_node * const msm8909_snoc_nodes[] = { [MAS_QDSS_BAM] = &mas_qdss_bam, [MAS_BIMC_SNOC] = &mas_bimc_snoc, [MAS_MDP] = &mas_mdp, From patchwork Thu Feb 8 10:50:52 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 198316 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:50ea:b0:106:860b:bbdd with SMTP id r10csp91903dyd; Thu, 8 Feb 2024 03:16:00 -0800 (PST) X-Google-Smtp-Source: AGHT+IHVjlM+WCAj6VgZMOLUu4u6eGQ2wlYBImxXxXMixqPqENnZXL4ebh4Gab3Vbfkrwryr8clj X-Received: by 2002:a05:6a21:2d89:b0:19e:a216:c0d with SMTP id ty9-20020a056a212d8900b0019ea2160c0dmr5525022pzb.51.1707390960248; Thu, 08 Feb 2024 03:16:00 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707390960; cv=pass; d=google.com; s=arc-20160816; b=nSyYBTrmyjI+Z1t2S5suAO9NfSx64HuQwIBRwlT0CdNfTV+M16Wnx2/TIb81uVMlCz AnRBro7V09HJ7oUeqnngKX3Zw+UCWF+riVLDJIKozkr5SHiLAnXxWGQqkkpmCsK8tRTe qBaXyuaUig5YwPRa92pU+oSJK3aYzcNALbAln4QJuvLRAwWq5P6zxGUZ7c4NrDUsd6EX s2LaJVWm2Ea/52Vugd1UGJCy7F54cHdnldfqf2RUtCJqFG6FtGSrbmJ2z2gqiQx/f7S3 2MEoajwB+khCJTkFx+dHmB/jCDwDFMfDWRwZUN4ws+hJYhW0f4Yb25zllA7y7D/QpVTL fyug== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=aJc7ec9IijkOU/3KDLFERj5AUUPZCAR+EPoUeZ5cdPE=; fh=LZBLRtIcQ7GLdO1mDDAA+zSoDc2qQrLDmBa4B6Z62R0=; b=sxOQUefYxkiGtjeS9g5j3T62z7aAx2jlbSsf0IlrOw3HDOuYlZ2IU4hKJjdz5BJO+6 h00V2m0j+m4V1eFNGdoX+c3uktB2hJXFQKNaHMjPcaGth9Vzjtg1NQKpii67gDipIgaL 18r/pax3V4unXZoDaaREgY6ftuVGwGcXNfAdfnWVEVTCf+VMQBQM459FIlsguXlKtYBM l1IjSX2MQGPqFpyygBhqDISsODiQHPDCYXFSMxLKf0v29AOLcNramLk6Ius6i1gvdY8s PBtI/X3PLQMQVj2Ldq19JHdMp+beCpZQHTCt7IxRO1c6GUXSCTfsyhNhrzEB+/HjLHgR cXsw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=zOFEVaqc; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-57888-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-57888-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org X-Forwarded-Encrypted: i=2; AJvYcCWFmEOEijXeh8kJp/aa4EyhP3YKzmnXTEfLkPFg+dl99LA/CmabCap9sCrgXCjqpmq0I8H4GzVNE/HzDprUgZYg29FQ/g== Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id a18-20020a637f12000000b005d6b61e24afsi3856938pgd.763.2024.02.08.03.15.59 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Feb 2024 03:16:00 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-57888-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=zOFEVaqc; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-57888-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-57888-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 0968FB27013 for ; Thu, 8 Feb 2024 10:52:26 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 785A66E2CA; Thu, 8 Feb 2024 10:51:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="zOFEVaqc" Received: from mail-wr1-f46.google.com (mail-wr1-f46.google.com [209.85.221.46]) (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 56AC96EB55 for ; Thu, 8 Feb 2024 10:51:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.46 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707389467; cv=none; b=DrymOo+fsEDVIrCHrZicgRvU6hmJ01klJd13msG9iFyAv0am3yJ3XECGE3vevaz/z40ZofG+cY1/8WVWOhlwAaOOxjGEd3d+IJZvxeMnZo6YrpKBHHW/8VOhVH1NLagXzPkFClZgmeqwxEXK3LlnTAwOBDdFo3+eAiRBdARZIX4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707389467; c=relaxed/simple; bh=pSXww4JOmKo0NvYhFm95KOT1cC7bHGNrwi3UIF5F6Ww=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=rn2IKCg2yKnofsQV+w9cZm19QB5I76NjqTUAryj1JD2IfQWb40Z639Kcq6Hs/7hpv29p97nUGxmqtKPHvxISi/F166Kp9BCYWPO/KR+PpIN6AUdV6QtiA/QqzAD7gpnST/bdZ56tW9Syg9DSBDmtlpPoNxXVyg8LuWDoMd3uv44= 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=zOFEVaqc; arc=none smtp.client-ip=209.85.221.46 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 Received: by mail-wr1-f46.google.com with SMTP id ffacd0b85a97d-337d05b8942so1238491f8f.3 for ; Thu, 08 Feb 2024 02:51:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1707389463; x=1707994263; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=aJc7ec9IijkOU/3KDLFERj5AUUPZCAR+EPoUeZ5cdPE=; b=zOFEVaqcJQRG3aZ2a3M2TiABoASxyeYp+EjJxletQ0Fywp80mF592xdEDhrpKFW7ZK 9Fu74aBWkL/n8yrzTJh9wKcEMZyWXQOWRCR3vu6XMSMt+HnhuBVI0sjjSUfEt8BTmYPn IWw4sbL9b/CKa/+xM+YvNNISWv5GXCJiNWrpgdeyP8OrFEeI9C2gzpd7mzI82zBQsDKA gN/e/X2k5npzt2gKEk8s0McmkayoLB+8i3FQ3yW2HcD6iuquJ8ceLqtEwbevBR969Owh pM0G36MytRPXaDqi/cyc7jewrGHbBB3Oiu889nHeBbAHZV1KajFmguiJz/yAQInoaQs5 1cjA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707389463; x=1707994263; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=aJc7ec9IijkOU/3KDLFERj5AUUPZCAR+EPoUeZ5cdPE=; b=CtsFWZ89y07ZK3G2qvwsut04RJbkRbMZBzgkFenkWTzG3nrfhMTdKO4/0gPD/6QkR5 zY2dM0sMC1NHFXyeQnjZsYA4hsfUZq/I7whnrtOQ+DSeHPZ8GHU058BEHPlmTjMlgfbH zm4hhsg8dJ2h2p3pI6WazALvnWaP6JpwImGGb2OtKsJD8jsbWoe5WLGjSAFbKgbF6BHn m/HsuAAKHkkkmBKtueyUq9MRriF3M1fNbCTsbZh1DK3kS3gkN3zr6fNNqpFAH8rMOlQo x2tKLQXdShxXIu8/630omRT5yzoVqk8i9XMGdRLf9c+4p5dttofnculTlHhiCAP7ovmH h1fg== X-Gm-Message-State: AOJu0Yw5Etq1vIC52RpJJJJSrAZ2nUjTMrHRLk7JF2g1T9x766ek/mUI I7F+GEbTR9VGljBRBitoGYChyrK5GokdIgXZKdJgGXskWTDNDcm5oqIVjsp0ykM= X-Received: by 2002:adf:fed2:0:b0:33a:e67f:cf8 with SMTP id q18-20020adffed2000000b0033ae67f0cf8mr5810439wrs.20.1707389463607; Thu, 08 Feb 2024 02:51:03 -0800 (PST) X-Forwarded-Encrypted: i=1; AJvYcCU73vpSLrggTRw4RQ8aEgoMirm1W7HvbVETod9fmQvE/UMZpn/lLKGr2CsSAunMlR+QKOLwNWioqPhgJu3GH6YuVyca+TWoqT8PbScVvFoVanK0vITO/yUbwurLGRrimlLFpcXkHoqxQjyxunWuyPPgb3m5mrJfNGdZxlW+Gd4J8+JyRMqT/yVcZJd4AO8lwIvDJOswbe2LOnb1gg72Y1LDgMuj4Z7X4ua9DTg5ku0mz0Vq Received: from krzk-bin.. ([178.197.222.62]) by smtp.gmail.com with ESMTPSA id s1-20020a5d69c1000000b0033b4719eb6esm3308283wrw.27.2024.02.08.02.51.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Feb 2024 02:51:03 -0800 (PST) From: Krzysztof Kozlowski To: Bjorn Andersson , Konrad Dybcio , Georgi Djakov , linux-arm-msm@vger.kernel.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 2/6] interconnect: qcom: sa8775p: constify pointer to qcom_icc_node Date: Thu, 8 Feb 2024 11:50:52 +0100 Message-Id: <20240208105056.128448-3-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240208105056.128448-1-krzysztof.kozlowski@linaro.org> References: <20240208105056.128448-1-krzysztof.kozlowski@linaro.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1790329183820267807 X-GMAIL-MSGID: 1790329183820267807 Pointers to struct qcom_icc_node are const. Signed-off-by: Krzysztof Kozlowski --- drivers/interconnect/qcom/sa8775p.c | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/drivers/interconnect/qcom/sa8775p.c b/drivers/interconnect/qcom/sa8775p.c index dd6281db08ad..fe1b11041e6a 100644 --- a/drivers/interconnect/qcom/sa8775p.c +++ b/drivers/interconnect/qcom/sa8775p.c @@ -2096,7 +2096,7 @@ static struct qcom_icc_bcm *aggre1_noc_bcms[] = { &bcm_sn3, }; -static struct qcom_icc_node *aggre1_noc_nodes[] = { +static struct qcom_icc_node * const aggre1_noc_nodes[] = { [MASTER_QUP_3] = &qxm_qup3, [MASTER_EMAC] = &xm_emac_0, [MASTER_EMAC_1] = &xm_emac_1, @@ -2120,7 +2120,7 @@ static struct qcom_icc_bcm *aggre2_noc_bcms[] = { &bcm_sn4, }; -static struct qcom_icc_node *aggre2_noc_nodes[] = { +static struct qcom_icc_node * const aggre2_noc_nodes[] = { [MASTER_QDSS_BAM] = &qhm_qdss_bam, [MASTER_QUP_0] = &qhm_qup0, [MASTER_QUP_1] = &qhm_qup1, @@ -2148,7 +2148,7 @@ static struct qcom_icc_bcm *clk_virt_bcms[] = { &bcm_qup2, }; -static struct qcom_icc_node *clk_virt_nodes[] = { +static struct qcom_icc_node * const clk_virt_nodes[] = { [MASTER_QUP_CORE_0] = &qup0_core_master, [MASTER_QUP_CORE_1] = &qup1_core_master, [MASTER_QUP_CORE_2] = &qup2_core_master, @@ -2175,7 +2175,7 @@ static struct qcom_icc_bcm *config_noc_bcms[] = { &bcm_sn10, }; -static struct qcom_icc_node *config_noc_nodes[] = { +static struct qcom_icc_node * const config_noc_nodes[] = { [MASTER_GEM_NOC_CNOC] = &qnm_gemnoc_cnoc, [MASTER_GEM_NOC_PCIE_SNOC] = &qnm_gemnoc_pcie, [SLAVE_AHB2PHY_0] = &qhs_ahb2phy0, @@ -2274,7 +2274,7 @@ static const struct qcom_icc_desc sa8775p_config_noc = { static struct qcom_icc_bcm *dc_noc_bcms[] = { }; -static struct qcom_icc_node *dc_noc_nodes[] = { +static struct qcom_icc_node * const dc_noc_nodes[] = { [MASTER_CNOC_DC_NOC] = &qnm_cnoc_dc_noc, [SLAVE_LLCC_CFG] = &qhs_llcc, [SLAVE_GEM_NOC_CFG] = &qns_gemnoc, @@ -2292,7 +2292,7 @@ static struct qcom_icc_bcm *gem_noc_bcms[] = { &bcm_sh2, }; -static struct qcom_icc_node *gem_noc_nodes[] = { +static struct qcom_icc_node * const gem_noc_nodes[] = { [MASTER_GPU_TCU] = &alm_gpu_tcu, [MASTER_PCIE_TCU] = &alm_pcie_tcu, [MASTER_SYS_TCU] = &alm_sys_tcu, @@ -2328,7 +2328,7 @@ static struct qcom_icc_bcm *gpdsp_anoc_bcms[] = { &bcm_gnb0, }; -static struct qcom_icc_node *gpdsp_anoc_nodes[] = { +static struct qcom_icc_node * const gpdsp_anoc_nodes[] = { [MASTER_DSP0] = &qxm_dsp0, [MASTER_DSP1] = &qxm_dsp1, [SLAVE_GP_DSP_SAIL_NOC] = &qns_gp_dsp_sail_noc, @@ -2345,7 +2345,7 @@ static struct qcom_icc_bcm *lpass_ag_noc_bcms[] = { &bcm_sn9, }; -static struct qcom_icc_node *lpass_ag_noc_nodes[] = { +static struct qcom_icc_node * const lpass_ag_noc_nodes[] = { [MASTER_CNOC_LPASS_AG_NOC] = &qhm_config_noc, [MASTER_LPASS_PROC] = &qxm_lpass_dsp, [SLAVE_LPASS_CORE_CFG] = &qhs_lpass_core, @@ -2369,7 +2369,7 @@ static struct qcom_icc_bcm *mc_virt_bcms[] = { &bcm_mc0, }; -static struct qcom_icc_node *mc_virt_nodes[] = { +static struct qcom_icc_node * const mc_virt_nodes[] = { [MASTER_LLCC] = &llcc_mc, [SLAVE_EBI1] = &ebi, }; @@ -2386,7 +2386,7 @@ static struct qcom_icc_bcm *mmss_noc_bcms[] = { &bcm_mm1, }; -static struct qcom_icc_node *mmss_noc_nodes[] = { +static struct qcom_icc_node * const mmss_noc_nodes[] = { [MASTER_CAMNOC_HF] = &qnm_camnoc_hf, [MASTER_CAMNOC_ICP] = &qnm_camnoc_icp, [MASTER_CAMNOC_SF] = &qnm_camnoc_sf, @@ -2418,7 +2418,7 @@ static struct qcom_icc_bcm *nspa_noc_bcms[] = { &bcm_nsa1, }; -static struct qcom_icc_node *nspa_noc_nodes[] = { +static struct qcom_icc_node * const nspa_noc_nodes[] = { [MASTER_CDSP_NOC_CFG] = &qhm_nsp_noc_config, [MASTER_CDSP_PROC] = &qxm_nsp, [SLAVE_HCP_A] = &qns_hcp, @@ -2438,7 +2438,7 @@ static struct qcom_icc_bcm *nspb_noc_bcms[] = { &bcm_nsb1, }; -static struct qcom_icc_node *nspb_noc_nodes[] = { +static struct qcom_icc_node * const nspb_noc_nodes[] = { [MASTER_CDSPB_NOC_CFG] = &qhm_nspb_noc_config, [MASTER_CDSP_PROC_B] = &qxm_nspb, [SLAVE_CDSPB_MEM_NOC] = &qns_nspb_gemnoc, @@ -2457,7 +2457,7 @@ static struct qcom_icc_bcm *pcie_anoc_bcms[] = { &bcm_pci0, }; -static struct qcom_icc_node *pcie_anoc_nodes[] = { +static struct qcom_icc_node * const pcie_anoc_nodes[] = { [MASTER_PCIE_0] = &xm_pcie3_0, [MASTER_PCIE_1] = &xm_pcie3_1, [SLAVE_ANOC_PCIE_GEM_NOC] = &qns_pcie_mem_noc, @@ -2478,7 +2478,7 @@ static struct qcom_icc_bcm *system_noc_bcms[] = { &bcm_sn9, }; -static struct qcom_icc_node *system_noc_nodes[] = { +static struct qcom_icc_node * const system_noc_nodes[] = { [MASTER_GIC_AHB] = &qhm_gic, [MASTER_A1NOC_SNOC] = &qnm_aggre1_noc, [MASTER_A2NOC_SNOC] = &qnm_aggre2_noc, From patchwork Thu Feb 8 10:50:53 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 198291 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:50ea:b0:106:860b:bbdd with SMTP id r10csp80579dyd; Thu, 8 Feb 2024 02:52:28 -0800 (PST) X-Google-Smtp-Source: AGHT+IGVvZU4FncMQX2nLCUMlywdKPBDjuRGlplXPZmSAdZnu/anDLx6QudviT0eW2y/gt+VjKNs X-Received: by 2002:a17:90a:17ea:b0:296:df78:76e3 with SMTP id q97-20020a17090a17ea00b00296df7876e3mr4912350pja.9.1707389548449; Thu, 08 Feb 2024 02:52:28 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707389548; cv=pass; d=google.com; s=arc-20160816; b=Q93C+QNaCbScrZEmjIDG2chi60zMKwOtpJwGij0Sa9eioOQkaCB75h1RWAthfFYRcQ h50KQTPimUNa8cmBvFpT7hlx+igNW1bLZDeKtaNHpW+ph88xTi+9/YRxK1Xq79JpnrmJ 3JP5axiVjCAWAY1MHTB7QVwwo2QjODld8CiiZuQb0pYKomZcp3EponTmxfMEjzXS9tCJ e+efcsHp9naNJ+qma1ZC5/EMK1D90Aa79vqDmPKMSSawp9t2PqzCfUP9WytbSoOuNJRk wvAaqeq1lHhvlhK8xHAM/AGa65rjpM25POgy/BXF/PN4wXevC35LGxnK5uaAKQkBJ22Z UVlw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=4Cmg0Zs3p+Vksv5va0smH047wi/mWujrplTLNUNeaX8=; fh=O0/BfnykX4Sge8cnxxT2hFtEGEhhGv9jNrPR5pLcXZc=; b=0T8T0ZAjZ4MU+X+D40KIC2o4JXX3hBXSwSu9md8U6RRRpcsqkt+Da7xp7k6sBazd84 2H/C+1ryMxMhEllwGIIV4oIiv5660p3L/z5cismGqXvX1SNT8bKKi3PTOXYOLzrenzw6 DWwfNlOeSS1C1QPr5TpRv1+pjjo/G2JWoU2FD4zHfU6kqCAzv/Gq3ImZyXyEZzdQ7IOg EM+An+fN5+T/yl1AS7VeKMOJgXHChchDcW9xCRG9YofnFvssIQsYT639E/IAYRp3ZHrW 9I9vWmnUBT98uIi81Pk9wbFqjw/0v00Q7R051HE28TPKIDZDNEVDi4K6vLf5IEK8MMDe m2ww==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=TqghBnpW; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-57889-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-57889-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org X-Forwarded-Encrypted: i=2; AJvYcCXQf2P9dgId7gVZym68z33FgmIGKpvaIyLOwUn3y9VBMeVJWUBUsLWDFc8sv1gCw5svdZyIKQv7ISvVsux2TMvixeN/1Q== Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id c18-20020a170903235200b001d71313a515si4164732plh.269.2024.02.08.02.52.28 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Feb 2024 02:52:28 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-57889-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=TqghBnpW; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-57889-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-57889-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 33925287F09 for ; Thu, 8 Feb 2024 10:52:28 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B4BD771B43; Thu, 8 Feb 2024 10:51:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="TqghBnpW" Received: from mail-wm1-f44.google.com (mail-wm1-f44.google.com [209.85.128.44]) (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 B66F46F076 for ; Thu, 8 Feb 2024 10:51:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.44 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707389468; cv=none; b=B5BXDnEL3xr5Man7Tc4f+iCCwWJP6BLLuq0LfEOB7WNkhS8VmE97fvbld4jd5eNYQMxRW0JxKk7xs+40Ci1rRDT+IMSfiTeczo05+ns1u7cV9CM31G8zMrXcpbe7wg9wxdMQj+sdVvJJ27lrpXG5uXNnLWPiDr0tiTmmMO1eDmg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707389468; c=relaxed/simple; bh=i8EZnRbZHfuf7N5DpqNnYN9HzPImHJSMtCX8U31PqOs=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=fb+v2h0GcGxgv8NfflfGSsWbCIe1+s1oNPhQXQPhzmlNs0gIJ+D0dwH6M7D7h2Mwt9nsCTjlW+5DwPh4uTY1mBYVKDak+ALCRNTy86/zowaPx9mJV0iqqFHyYXw5f6QPYBiP4sXVFgQTt/Pz/CgHEddsSbXI3HsIMKj1m7zl64M= 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=TqghBnpW; arc=none smtp.client-ip=209.85.128.44 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 Received: by mail-wm1-f44.google.com with SMTP id 5b1f17b1804b1-4101565d20bso14025195e9.2 for ; Thu, 08 Feb 2024 02:51:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1707389465; x=1707994265; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=4Cmg0Zs3p+Vksv5va0smH047wi/mWujrplTLNUNeaX8=; b=TqghBnpWftSICcIekkMvThV4yOPoZnjIp/3t7UsoeInYznjYzjI1iIN+KthKBAfpKU ZYxgx2RKxWkRRG020i796uS4QOxWgrG0bkvqy0gIshjLNZJYxnUDJ1Gd4pGMzRKL77mu fLhV68i2Y0dhUTOi1Y7V3fxi+Ru+eb8pZuMQTdIuvfYJUA8QA7XWAJ7OBaz0TZjCZh+7 fQ2FXxjwsuG7RIrruJDsTXbxiA2mAFn3Ab/NZf1Pr4a0RErUTNiSthQrGQ2gSiWfLKSd EZICUTBYOOsd+Qp0kwsaknajQ9tSTSjCOX7wtMc4qQx1kXPTDddTMqlD0iskCc/Nb9p0 Wm0g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707389465; x=1707994265; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=4Cmg0Zs3p+Vksv5va0smH047wi/mWujrplTLNUNeaX8=; b=SH4hpZj1G+s9c6X6Und/XrTxu/1SVo+HIR2EMxbGWqcgjIF91fSvnnNqDPG/mCFF+/ BqfzngcEqeOEZFG+NAeVQO/VfjmTZ5A489T0EcY15H9prgzCmCKSo3F0ilVtko/XeufJ y4s0woOy7yfvVpOov3MYNSTG+quf8v9Ou0mVDuhSRS+HEGeUX46uHcxvcgVKeLnB6Yca is8nDsUWOg5Q6inDfrzqAoi1xJ6y/XkwoDDVe9kL5/ymdMXh9bfqZwBSM9w8T8CQSnee mPYgfzn0SJ2ahhhcvIKj7uN8xWKGlGT6WHczxVNT5pNGNhFJUW2uQbcHqBHWCorDKui4 AZ+g== X-Gm-Message-State: AOJu0YwxhAAlMt5cV3z2nGk0SaVli0Sky1zOedtcgiPVz+L6csOuit5Y 5+uXprO/9Cz/6SNgGIka45TjeC+xRDgKXgl11OM3i9VzYelAhmXJ+SvbkUBZY2o= X-Received: by 2002:a5d:6646:0:b0:33b:4ec0:8166 with SMTP id f6-20020a5d6646000000b0033b4ec08166mr3027693wrw.37.1707389465008; Thu, 08 Feb 2024 02:51:05 -0800 (PST) X-Forwarded-Encrypted: i=1; AJvYcCVVvLAKHg6HPEn7s4JM3bYEz64K65nXyGFVg5+285zwNA8EEsU1L21I8OYmm2/VSnXg073V1n6s7qJIQUh100UHz+k3VODyNQOaQo6G8Ta9p9xkBPP7bpIREHpOYbc704vhwqXXu6ojKGKXS9tInOVAQHNy9tL6d90X3Wg7YjgPn7h51tVtwsCNa01kVPpTbvLVLx7f7eMxpaS5TRrulzZZ9HSdbAuJMdAv2RhL7OT18bK9 Received: from krzk-bin.. ([178.197.222.62]) by smtp.gmail.com with ESMTPSA id s1-20020a5d69c1000000b0033b4719eb6esm3308283wrw.27.2024.02.08.02.51.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Feb 2024 02:51:04 -0800 (PST) From: Krzysztof Kozlowski To: Bjorn Andersson , Konrad Dybcio , Georgi Djakov , linux-arm-msm@vger.kernel.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 3/6] interconnect: qcom: sm8250: constify pointer to qcom_icc_node Date: Thu, 8 Feb 2024 11:50:53 +0100 Message-Id: <20240208105056.128448-4-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240208105056.128448-1-krzysztof.kozlowski@linaro.org> References: <20240208105056.128448-1-krzysztof.kozlowski@linaro.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1790327703077397101 X-GMAIL-MSGID: 1790327703077397101 Pointers to struct qcom_icc_node are const. Signed-off-by: Krzysztof Kozlowski --- drivers/interconnect/qcom/sm8250.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/interconnect/qcom/sm8250.c b/drivers/interconnect/qcom/sm8250.c index 02d40eea0d69..1879fa15761f 100644 --- a/drivers/interconnect/qcom/sm8250.c +++ b/drivers/interconnect/qcom/sm8250.c @@ -1673,7 +1673,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] = &qup0_core_master, [MASTER_QUP_CORE_1] = &qup1_core_master, [MASTER_QUP_CORE_2] = &qup2_core_master, From patchwork Thu Feb 8 10:50:54 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 198293 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:50ea:b0:106:860b:bbdd with SMTP id r10csp80886dyd; Thu, 8 Feb 2024 02:53:14 -0800 (PST) X-Google-Smtp-Source: AGHT+IHedJkSEaUhBglbxEdYE82d4unhUIykxX8PnucgU4bE5LGaef3HrdoMk+dyvI7glxb3vuYM X-Received: by 2002:aa7:d88c:0:b0:55f:8031:501c with SMTP id u12-20020aa7d88c000000b0055f8031501cmr6792566edq.30.1707389594615; Thu, 08 Feb 2024 02:53:14 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707389594; cv=pass; d=google.com; s=arc-20160816; b=gYKD0zDMJElIlvD+zBLRPAyQEsQaYh6TpZZzaJpAxVkvd/uCGUwXqT3tI/aQZeeZqG iJMa0EO1X2k34URRqsjf0CcBkGfuv0b8iRcAHTDSX3ghM8BBTYphvmFz2ya+v3is3zQs 8YLQaNiCQwy8occDKFEPjleFO8v5Yak/AbugJ1kKMH5qCJUROxXx4+Gw9bIjoss1J/8K EIqiKaEFxSmDXnbxwnwML9Hnev5KdQGQtzmS83wOvCJN2EUT5Eb/4JjtSDdLfVt5UYRo bTMbC3hQv6BwAsMieGH/oVhrKIRBMmtO1SPyyqclgzlhi5R0u6k8H6ZHtHituN1MONs6 w0oA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=v/7BlQVqaBg/YDuqV11FzeuMwMO0YVBlV+t3/dxolhI=; fh=2rNecugnW2X/6RNl8glSyQMWJL2rC3GE5bzP+rBfB1A=; b=fk5ve2mezaFumTRsScdMpv6nkEZYtYht+zLDy7IhziwQTX+k73JYgJDkGySxkAKLej e3gB+gC37Le0etgJQPhbIEdU8osU/COjFm7ZHFy9wrg5xUU6aqmPKSZ8UvWgGtb+cU39 Ak+N0UgQ39ZzhyRZPxPLkHt/buETOEOuEq9I2ZhSLTFY2lteyBmlbtKY1hsar9JXNdH6 3DQejou7M1aLvXCLhqV+OHrztGfYz4c/xPZ/WPTiQYzeb41u8CVd/QteXKkmzt+XwIzq DuajS+tvFdcEh9WlEaiFe/ZgLFNGHvoydiKh6s9Cirkd0gu7onxqv9ZbDWESsu2veYey Bpvw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=c+4PJJvh; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-57890-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-57890-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org X-Forwarded-Encrypted: i=2; AJvYcCXpnthVUqnNnVunvY9XMQHKrGDcx75ohDiB5xCzXpC0XV1vzS1CyM1hUCo0ujBGbh8knLVjvX3I2EBJjDLLIjJFidiRGA== Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id w26-20020aa7dcda000000b005611aab8174si92381edu.434.2024.02.08.02.53.14 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Feb 2024 02:53:14 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-57890-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=c+4PJJvh; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-57890-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-57890-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id EB21D1F24F8E for ; Thu, 8 Feb 2024 10:52:53 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9B30673164; Thu, 8 Feb 2024 10:51:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="c+4PJJvh" Received: from mail-wm1-f49.google.com (mail-wm1-f49.google.com [209.85.128.49]) (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 6A6176F50A for ; Thu, 8 Feb 2024 10:51:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.49 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707389470; cv=none; b=THmmOjM4az3WhiQhMnd7/lOF3KEaUDEHZX7WutnBG7VIHjgABDXTho/gmS/d/JSxcSHVJwvlZSA0vUBXIvJonOC5VrNOtc1sKQLgzEjpcMnNkVW87qJt207MbP8EtIbiyfupDbL+1z60lSCm8RTmE2qZAT1JIh3LerZETYkj+A4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707389470; c=relaxed/simple; bh=L2PhbeqUvP+ARdsn5F6t71AsTmNIlOubM6y/Atgkp1g=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=uo94R7FMS5T4L3tsR0IHZ6oMAPbTx3AfPTlqtV+sxGSz/+UbyeOWZWVgAaKdRNou9qKuDyL74KYu+9atQyJxFw4i/QOsLVCnE0OnnORUKM5baPq1jHDteRBGIxFUPxKf7kD65YyRskwTRIMpMx9y6qQsdrWXp1qs4VRaK+z47JQ= 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=c+4PJJvh; arc=none smtp.client-ip=209.85.128.49 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 Received: by mail-wm1-f49.google.com with SMTP id 5b1f17b1804b1-40ef64d8955so15047375e9.3 for ; Thu, 08 Feb 2024 02:51:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1707389466; x=1707994266; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=v/7BlQVqaBg/YDuqV11FzeuMwMO0YVBlV+t3/dxolhI=; b=c+4PJJvhHGS7HNItJgeabKKr20TPvUlRyD3rcwveOflNxu4fWuEnOqrofbQ99vnpVP u+EEWLbmRTyJ7AoZSp94bCJOE5Fc4Eh2escnOpsX0Z5MEVIKHKr+3Ml3bhTokX+N9LkX EvxM3zhl35ix7US9EXPa6mQuuA5RJTgBfFnHcYlZ0kohzenZQNpw87SaOr/qbTlLUziF uHDjXQ2SS7kcSvr4A+5S1osGeUnIfp5wMZH/GFyyMEByY8OUtKOsAXbOy86fNb6U06Yd af6oxyZwzkzmk94cPGVDjrgK4JlD7H0++pmGyJ0FXrk8FnAAnzY7QdP1sWRYynnJ+aDP zoEg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707389466; x=1707994266; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=v/7BlQVqaBg/YDuqV11FzeuMwMO0YVBlV+t3/dxolhI=; b=hG7j8rTht4UzxfrsxpDMK+9QNzW6hKBy1psIL9C8iySaaZXYqYaEmXQVX7iDmZ4EPt cY70FbpgYJFZalUx/XT5pcs+i1jLM1surE6LoFkIbDywaa1JSD9d5958AhJsA3qrfSFE vFtbd6ZhwRWnU9g/6kn95YaZsl7LaGYIIDQIvutA3n94hSX6nopLBIueWYy6xFo8gQr8 aVvDmRbCVmD34K7dHZa6bXh31OSoTCxbTTwfVSm6jKCM5O3wIb9tBvxal7C1/Z8ro5wh ZoK1bne/xCSsxiTsKv/WM9Qzvz3otm/N+wWa7nAIRRbqR3UvjXigDFluino7aKEVWTVh N+4w== X-Gm-Message-State: AOJu0Yxq7MPSFz4jJUOHGnkTrCjWdeaNVRvJ2IrIIAwLwFNDEXwHVyev 0uyyoq7c7ugM5Ypj4v8PxKKwVfaZ+0EKyJvuz87MHh98FFeP+IgHypc5ZnLX46Y= X-Received: by 2002:adf:f047:0:b0:33b:28d5:f770 with SMTP id t7-20020adff047000000b0033b28d5f770mr6464418wro.62.1707389466565; Thu, 08 Feb 2024 02:51:06 -0800 (PST) X-Forwarded-Encrypted: i=1; AJvYcCVI3UQ6pnc1atVOZQK2GOKkZ7PnZOeLKdB7ze0BjOVHCvosNIlnawe+hvoC4mzhh/xx5CEzwDReml35Gg+aHu+lKdq0muJRglhLPrqunH2OA2YZsJ5xyWOXbbume4knhdMY9c6S/Rm5upUIjCrTN1tLpKTiLmbfYcaFw7HkB5swTnZiTOh24LaOF2P3yctp3ipJfCTwctpKucaQ42xwMMQ/yBZCvENZFhUl3ZBb8bPu0YBN Received: from krzk-bin.. ([178.197.222.62]) by smtp.gmail.com with ESMTPSA id s1-20020a5d69c1000000b0033b4719eb6esm3308283wrw.27.2024.02.08.02.51.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Feb 2024 02:51:06 -0800 (PST) From: Krzysztof Kozlowski To: Bjorn Andersson , Konrad Dybcio , Georgi Djakov , linux-arm-msm@vger.kernel.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 4/6] interconnect: qcom: sm6115: constify pointer to qcom_icc_node Date: Thu, 8 Feb 2024 11:50:54 +0100 Message-Id: <20240208105056.128448-5-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240208105056.128448-1-krzysztof.kozlowski@linaro.org> References: <20240208105056.128448-1-krzysztof.kozlowski@linaro.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1790327751331371690 X-GMAIL-MSGID: 1790327751331371690 Pointers to struct qcom_icc_node are const. Signed-off-by: Krzysztof Kozlowski --- drivers/interconnect/qcom/sm6115.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/interconnect/qcom/sm6115.c b/drivers/interconnect/qcom/sm6115.c index 88b67634aa2f..7e15ddf0a80a 100644 --- a/drivers/interconnect/qcom/sm6115.c +++ b/drivers/interconnect/qcom/sm6115.c @@ -1193,7 +1193,7 @@ static struct qcom_icc_node slv_anoc_snoc = { .links = slv_anoc_snoc_links, }; -static struct qcom_icc_node *bimc_nodes[] = { +static struct qcom_icc_node * const bimc_nodes[] = { [MASTER_AMPSS_M0] = &apps_proc, [MASTER_SNOC_BIMC_RT] = &mas_snoc_bimc_rt, [MASTER_SNOC_BIMC_NRT] = &mas_snoc_bimc_nrt, @@ -1223,7 +1223,7 @@ static const struct qcom_icc_desc sm6115_bimc = { .ab_coeff = 153, }; -static struct qcom_icc_node *config_noc_nodes[] = { +static struct qcom_icc_node * const config_noc_nodes[] = { [SNOC_CNOC_MAS] = &mas_snoc_cnoc, [MASTER_QDSS_DAP] = &xm_dap, [SLAVE_AHB2PHY_USB] = &qhs_ahb2phy_usb, @@ -1294,7 +1294,7 @@ static const struct qcom_icc_desc sm6115_config_noc = { .keep_alive = true, }; -static struct qcom_icc_node *sys_noc_nodes[] = { +static struct qcom_icc_node * const sys_noc_nodes[] = { [MASTER_CRYPTO_CORE0] = &crypto_c0, [MASTER_SNOC_CFG] = &qhm_snoc_cfg, [MASTER_TIC] = &qhm_tic, @@ -1339,7 +1339,7 @@ static const struct qcom_icc_desc sm6115_sys_noc = { .keep_alive = true, }; -static struct qcom_icc_node *clk_virt_nodes[] = { +static struct qcom_icc_node * const clk_virt_nodes[] = { [MASTER_QUP_CORE_0] = &qup0_core_master, [SLAVE_QUP_CORE_0] = &qup0_core_slave, }; @@ -1353,7 +1353,7 @@ static const struct qcom_icc_desc sm6115_clk_virt = { .keep_alive = true, }; -static struct qcom_icc_node *mmnrt_virt_nodes[] = { +static struct qcom_icc_node * const mmnrt_virt_nodes[] = { [MASTER_CAMNOC_SF] = &qnm_camera_nrt, [MASTER_VIDEO_P0] = &qxm_venus0, [MASTER_VIDEO_PROC] = &qxm_venus_cpu, @@ -1370,7 +1370,7 @@ static const struct qcom_icc_desc sm6115_mmnrt_virt = { .ab_coeff = 142, }; -static struct qcom_icc_node *mmrt_virt_nodes[] = { +static struct qcom_icc_node * const mmrt_virt_nodes[] = { [MASTER_CAMNOC_HF] = &qnm_camera_rt, [MASTER_MDP_PORT0] = &qxm_mdp0, [SLAVE_SNOC_BIMC_RT] = &slv_snoc_bimc_rt, From patchwork Thu Feb 8 10:50:55 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 198295 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:50ea:b0:106:860b:bbdd with SMTP id r10csp80924dyd; Thu, 8 Feb 2024 02:53:21 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXDTmU78A7cZeaucmuwjl8TEI+h645WK+TSWjmr2ebCQHrReLsvFM/fkCv++qWLmJK8dsLicY+gF5XEKZKeFO2JTaX2Bw== X-Google-Smtp-Source: AGHT+IH+qAuh8WXvN41QDXwh0m2Yteo3feBtvBNCh313xa0oXhrhVcikrjfTDeo5rLCAKNzYPxOk X-Received: by 2002:a17:906:b854:b0:a3b:b22a:f268 with SMTP id ga20-20020a170906b85400b00a3bb22af268mr711163ejb.5.1707389600948; Thu, 08 Feb 2024 02:53:20 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707389600; cv=pass; d=google.com; s=arc-20160816; b=g9MKLsDENWVAgkYVSRHfJo0LOOsFQwJlSXv2kr6+kIEOCbXd0327LT3RDqIdM1W04u uqXNwGpT8mzZ5S1jmQLVEUVlx+zzitOwSJ+x1z8Ola3URn3vQiskXO+gPWdKZDNZ3kTi BhOaA0DwM+50uMY7p+XHyO1IbYnagidF7xFksoU9kX2tG/8PN52O2LPUnmBjPMFuzijd DHtRpybcNUbOJ9lr58Ds/0TE3TWDgYDE/ZX6cBoOrOwHVhNNzZfsbqLBQhA2rdhGTDYN ykoiuBupfGzD5NtWw+bh3Gn5XhpAXkFFTErDHnnkBntn4UfRbxfhkksxqLJFnW7AWpFv dcXw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=cXwFqlt6c1ZOza+7pQsKS9ATwwru7pOVTdZ7KdBmCto=; fh=U3PbfBDX/MKgz+xRWh+/5LOayzRJXj2u+hsX+Ea6hg0=; b=pS7w01FPQiY1lR4FtSbye0HtULQbl1XjRTPxnGYe1Z4uD1ujJbm3aqLhe37gjkN3eK zsgeIJdB1i+fs5caxeFsQv2S7kFzoYC5JJHvwovZY/MRGpcOyPhEt1KuHZhGaZGbes6p rOdviX0M+JqY3Tt1caoT33spZjqRstawguqCg6JINcXRU/LUFauaWCPB5gzHgbL3iIxS 6rar6XOtd3p5uY0DnfTML7CIJ6YKrG/bGhbnyYocoBJEtkex/Px8VykaondVfmYu3mVL R2nNuILh5cem+EG/j0mYVfKvJpjyQr+/CmdqVM0Khi3yZianJfk8lyJp/+lFP2ITylH7 8nDg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=MFbA4NPF; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-57891-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-57891-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org X-Forwarded-Encrypted: i=2; AJvYcCXdgAN90jk9RHNiEOfLLKfBqkbbXkZxz7wgfnSah9tAEcHeSjXe8G3rIu2+KuCe590q9Vn/Dk+ZUZ4QxA8B8c80kVGbTg== Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id lf27-20020a170907175b00b00a37d2f85de1si2048825ejc.327.2024.02.08.02.53.20 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Feb 2024 02:53:20 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-57891-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=MFbA4NPF; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-57891-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-57891-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 24A9A1F21D78 for ; Thu, 8 Feb 2024 10:53:08 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5D1DF74E12; Thu, 8 Feb 2024 10:51:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="MFbA4NPF" Received: from mail-wr1-f47.google.com (mail-wr1-f47.google.com [209.85.221.47]) (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 A2B2E6F533 for ; Thu, 8 Feb 2024 10:51:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.47 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707389471; cv=none; b=SDYayNAS/ojCz6KrU5kAwxOOVZx/puwYZpktCMG1XOcqpVpxoMFSq6fIIeWZxyq926G6uYmFlteGpcoy921bGjm4FRN0QgjUiVMuDp1o/H614URcQhzwMAXeFeg4GhVuUJnBz/0SuN0qt1AYCSOgdkaJQFe64DbSJQU+XBsN2SY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707389471; c=relaxed/simple; bh=OiRouAt14h5JaF6DwcF4zzmoZj3l9r6ZHZBAp9AGyoM=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=bXsTYzdfhYPoh7YDEckqs73XCWbkkANI2fHWHUu2hGLYuy+E+PqNdFFDTpDtL+M93eFMaHb4Z9ARTf8+OfMkCqTszeKqwR15SzP4fnHpXzFRWKaOphGVNFnAcSuJgHFNhO+p6/w455Ot3FVHn2FdUKp29fu3CkN6sIa0tnO2AzE= 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=MFbA4NPF; arc=none smtp.client-ip=209.85.221.47 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 Received: by mail-wr1-f47.google.com with SMTP id ffacd0b85a97d-33b5978de44so183122f8f.3 for ; Thu, 08 Feb 2024 02:51:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1707389468; x=1707994268; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=cXwFqlt6c1ZOza+7pQsKS9ATwwru7pOVTdZ7KdBmCto=; b=MFbA4NPF40Rsgsrvg1SQBYnzDlVO/Zz5y0P00MLAB1SwXZcnys/ahuxEmT1JvpRCjs eFJwfW0qV3pK//trikquJmdMxj7lPcDYzLgDI7SiC4vJgwXb8M3XtS597d22dbMvxzKX FiYhXB/AAa0vkwqQxIsEwL0dqqqc+a/e4efkoJcR3X5Ib7iKfvZgQNb+dRUCPwp/H1GG KPM/v2i/QzzHLOduZM66c3W5APopxhUGjYzgXq8BRqXcEZINvE37up2iA8cTULHUgKxN B6b9nZLTU5eWwodYVqmqK02JcnNb5Te39Y4WPInbck0TX48Av2ihYQDR0AeWeqQ+/q8e 7zRA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707389468; x=1707994268; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=cXwFqlt6c1ZOza+7pQsKS9ATwwru7pOVTdZ7KdBmCto=; b=Lg8FbqOMu+TnEOhUe7mWUHQqC7aa13oHBrOOcCw/bw2AzMfbTpDcXO5zB6vnnd/mTe lq2dCi5Rkolq48bu6yeyfQ2gyGbo1RypNKsFT9dstz620uAEpqHO6hgs+nePZ9+kJieo 9pIViMxP2vhhaOYDjSKnGdtTrO8tJDRxFduQpt0y/YuM4Vcn0XnpkUfSlzdynwzS8JlP gIDTwcns160aC1aUyrKtfk4e97SIrvxNm7bc+z5SXgPaloo99rmV8yl0WloGUI6ZbaKr chI8BPXGkoDWt18PslxHicHvSV5G2vR2prr8b1Wr7jiDwvCQd6nMflX4NJcA03QrJQVl SiPg== X-Forwarded-Encrypted: i=1; AJvYcCXeLS2pUkuhZkGnXqNs+8oFMf6N3PEKpEmLtaInGa8FRi8Wy3vCiGWPBfDDwQakqdN8JCyik2WAzXUUWDzON3gDqAJ9jC0CN1M0EUJR X-Gm-Message-State: AOJu0Yyg9o9IqJrfThwpHF4CW55wcZq2cq2wnA5IAgiL84ZJPa9lsTCv dnCyGd1PYf6uQJ/zI3C4uad9dPTZZ7j9cw0pQ/KQMXgc2JS+aa7zBCHqgcbd1FM= X-Received: by 2002:a5d:5344:0:b0:33b:464c:b11b with SMTP id t4-20020a5d5344000000b0033b464cb11bmr5006113wrv.52.1707389467987; Thu, 08 Feb 2024 02:51:07 -0800 (PST) X-Forwarded-Encrypted: i=1; AJvYcCUJy27b6BhCOFkKGxE/Bmj163DNWoZK2fPkgzVhZlJc8ImZhW6wyy2ASu5RUrnsPLWavnCLAXg6Bz8FOYJORdEg3IDOp6Ypk2NoAiAP4noNeGc3odnaA/aOSkzjsUr6Po6xPqwhN2ZY+VG96xHaLVIxRGXxrSGcxW4gJQ14MIe89ns+rZZWkdL9rUvF4E1T+NZAgQOVWJmwcEPKEax2oImsEYlMKCJGn6xu7DgS8C4TaDHZ Received: from krzk-bin.. ([178.197.222.62]) by smtp.gmail.com with ESMTPSA id s1-20020a5d69c1000000b0033b4719eb6esm3308283wrw.27.2024.02.08.02.51.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Feb 2024 02:51:07 -0800 (PST) From: Krzysztof Kozlowski To: Bjorn Andersson , Konrad Dybcio , Georgi Djakov , linux-arm-msm@vger.kernel.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 5/6] interconnect: qcom: sa8775p: constify pointer to qcom_icc_bcm Date: Thu, 8 Feb 2024 11:50:55 +0100 Message-Id: <20240208105056.128448-6-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240208105056.128448-1-krzysztof.kozlowski@linaro.org> References: <20240208105056.128448-1-krzysztof.kozlowski@linaro.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1790327758530194683 X-GMAIL-MSGID: 1790327758530194683 Pointers to struct qcom_icc_bcm are const. Signed-off-by: Krzysztof Kozlowski --- drivers/interconnect/qcom/sa8775p.c | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/drivers/interconnect/qcom/sa8775p.c b/drivers/interconnect/qcom/sa8775p.c index fe1b11041e6a..a729775c2aa4 100644 --- a/drivers/interconnect/qcom/sa8775p.c +++ b/drivers/interconnect/qcom/sa8775p.c @@ -2092,7 +2092,7 @@ static struct qcom_icc_bcm bcm_sn10 = { .nodes = { &xs_qdss_stm }, }; -static struct qcom_icc_bcm *aggre1_noc_bcms[] = { +static struct qcom_icc_bcm * const aggre1_noc_bcms[] = { &bcm_sn3, }; @@ -2115,7 +2115,7 @@ static const struct qcom_icc_desc sa8775p_aggre1_noc = { .num_bcms = ARRAY_SIZE(aggre1_noc_bcms), }; -static struct qcom_icc_bcm *aggre2_noc_bcms[] = { +static struct qcom_icc_bcm * const aggre2_noc_bcms[] = { &bcm_ce0, &bcm_sn4, }; @@ -2142,7 +2142,7 @@ static const struct qcom_icc_desc sa8775p_aggre2_noc = { .num_bcms = ARRAY_SIZE(aggre2_noc_bcms), }; -static struct qcom_icc_bcm *clk_virt_bcms[] = { +static struct qcom_icc_bcm * const clk_virt_bcms[] = { &bcm_qup0, &bcm_qup1, &bcm_qup2, @@ -2166,7 +2166,7 @@ static const struct qcom_icc_desc sa8775p_clk_virt = { .num_bcms = ARRAY_SIZE(clk_virt_bcms), }; -static struct qcom_icc_bcm *config_noc_bcms[] = { +static struct qcom_icc_bcm * const config_noc_bcms[] = { &bcm_cn0, &bcm_cn1, &bcm_cn2, @@ -2271,7 +2271,7 @@ static const struct qcom_icc_desc sa8775p_config_noc = { .num_bcms = ARRAY_SIZE(config_noc_bcms), }; -static struct qcom_icc_bcm *dc_noc_bcms[] = { +static struct qcom_icc_bcm * const dc_noc_bcms[] = { }; static struct qcom_icc_node * const dc_noc_nodes[] = { @@ -2287,7 +2287,7 @@ static const struct qcom_icc_desc sa8775p_dc_noc = { .num_bcms = ARRAY_SIZE(dc_noc_bcms), }; -static struct qcom_icc_bcm *gem_noc_bcms[] = { +static struct qcom_icc_bcm * const gem_noc_bcms[] = { &bcm_sh0, &bcm_sh2, }; @@ -2323,7 +2323,7 @@ static const struct qcom_icc_desc sa8775p_gem_noc = { .num_bcms = ARRAY_SIZE(gem_noc_bcms), }; -static struct qcom_icc_bcm *gpdsp_anoc_bcms[] = { +static struct qcom_icc_bcm * const gpdsp_anoc_bcms[] = { &bcm_gna0, &bcm_gnb0, }; @@ -2341,7 +2341,7 @@ static const struct qcom_icc_desc sa8775p_gpdsp_anoc = { .num_bcms = ARRAY_SIZE(gpdsp_anoc_bcms), }; -static struct qcom_icc_bcm *lpass_ag_noc_bcms[] = { +static struct qcom_icc_bcm * const lpass_ag_noc_bcms[] = { &bcm_sn9, }; @@ -2364,7 +2364,7 @@ static const struct qcom_icc_desc sa8775p_lpass_ag_noc = { .num_bcms = ARRAY_SIZE(lpass_ag_noc_bcms), }; -static struct qcom_icc_bcm *mc_virt_bcms[] = { +static struct qcom_icc_bcm * const mc_virt_bcms[] = { &bcm_acv, &bcm_mc0, }; @@ -2381,7 +2381,7 @@ static const struct qcom_icc_desc sa8775p_mc_virt = { .num_bcms = ARRAY_SIZE(mc_virt_bcms), }; -static struct qcom_icc_bcm *mmss_noc_bcms[] = { +static struct qcom_icc_bcm * const mmss_noc_bcms[] = { &bcm_mm0, &bcm_mm1, }; @@ -2413,7 +2413,7 @@ static const struct qcom_icc_desc sa8775p_mmss_noc = { .num_bcms = ARRAY_SIZE(mmss_noc_bcms), }; -static struct qcom_icc_bcm *nspa_noc_bcms[] = { +static struct qcom_icc_bcm * const nspa_noc_bcms[] = { &bcm_nsa0, &bcm_nsa1, }; @@ -2433,7 +2433,7 @@ static const struct qcom_icc_desc sa8775p_nspa_noc = { .num_bcms = ARRAY_SIZE(nspa_noc_bcms), }; -static struct qcom_icc_bcm *nspb_noc_bcms[] = { +static struct qcom_icc_bcm * const nspb_noc_bcms[] = { &bcm_nsb0, &bcm_nsb1, }; @@ -2453,7 +2453,7 @@ static const struct qcom_icc_desc sa8775p_nspb_noc = { .num_bcms = ARRAY_SIZE(nspb_noc_bcms), }; -static struct qcom_icc_bcm *pcie_anoc_bcms[] = { +static struct qcom_icc_bcm * const pcie_anoc_bcms[] = { &bcm_pci0, }; @@ -2470,7 +2470,7 @@ static const struct qcom_icc_desc sa8775p_pcie_anoc = { .num_bcms = ARRAY_SIZE(pcie_anoc_bcms), }; -static struct qcom_icc_bcm *system_noc_bcms[] = { +static struct qcom_icc_bcm * const system_noc_bcms[] = { &bcm_sn0, &bcm_sn1, &bcm_sn3, From patchwork Thu Feb 8 10:50:56 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 198294 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:50ea:b0:106:860b:bbdd with SMTP id r10csp80895dyd; Thu, 8 Feb 2024 02:53:16 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCU0u9wUcnKTZTGWfW5d+E/gcw/tQLLFMXrsHAXPb98XfAHzhVtrGR4E+/Bgj1z8JKD2egJB7v/cb2CzbXh6s1omV63Lng== X-Google-Smtp-Source: AGHT+IHATFJZDwrzl+w7yedefyI1+PgDjTyVBncnNjHUnl5NJiXr1L82sE0in2WNEQmdTGmkloj/ X-Received: by 2002:a05:620a:3954:b0:783:f8ea:17d2 with SMTP id qs20-20020a05620a395400b00783f8ea17d2mr9797556qkn.22.1707389596058; Thu, 08 Feb 2024 02:53:16 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707389596; cv=pass; d=google.com; s=arc-20160816; b=VsncRBZv9R2mwmx02mHfXaZ7Tzfy3v0e+MvGE7WsTd10SgMqwi6tl+NxgCoaZ/DldS pYlUSySFwmB7TKjQUSZjnLxorTmdZlr4/3sJmkXb56eIKzT8j1YeZX5I3PJ3CJrvkkXq PckUJe+tQpMqltBPc4j1Zd+KWbjCtt6CPX+frVENDQN+J/jSwvdNPef6wnRHXUfii9te TwTiKmrOAiQVHf/P9ELF9c7tz3zswgw0BIa1AcAUF90/EjpK3lcuiFn8dGc0ngx5YbaZ uh6SZNAxIV/KbAz7bph1qI6GB0Rg5SjS333NDMA6kFfdWGfBscP1YTedhBHRcVaVZVuQ if1g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=lkWzwIjo/uZaIYjgKgDNcnhcc1cwlKLdvZXvoZJLBm8=; fh=xarpM+75bDQUTVk3a5C5P/CPKKkJmaLogJtCxucsjiI=; b=d2w7Wa1nL2kBrF2U9PKGDuF3RQcnB6iuIq4r/+26ATyVSwZgQqsYvRwh2rZkrtbBPu Qw81ElAt4lY03brQRzRodn0Sl6udiYMzQ//Pc7tjJShXB9q2E6Ul0BbaedctgCQUpFYH /Ukn7byFmBzRKHx3y9Sa0fOLuBVpsdke2ILk8Uw9/JxQs7XCNihTRLuCYjeF4uRfy8V2 8gv3q03puXq5qay3PZbpo9/LWNOQaOE55RciNT0zZ2A89kT6MCsARqazZEMqNZaKeqPP p5uhPhW2ah4bEzP/HJFlKfbpS8i+XbipMpJjICCu4p6iaT+Qqgl3xah8NWWA/jnrq1wv yr7g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=WnZep+P1; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-57892-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-57892-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org X-Forwarded-Encrypted: i=2; AJvYcCVlyd13m5A8UVRGleSe1SssgZziS1hexgbcbD2/8WDg4K0m36i9Kmpx+BegGh7rzaCHCv+N2H5A/yeJTkxgtnmofS7RaA== Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id g4-20020a05620a278400b00785a49be1f3si1475788qkp.34.2024.02.08.02.53.15 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Feb 2024 02:53:16 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-57892-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=WnZep+P1; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-57892-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-57892-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id D39481C24601 for ; Thu, 8 Feb 2024 10:53:15 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E827C74E06; Thu, 8 Feb 2024 10:51:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="WnZep+P1" Received: from mail-wm1-f43.google.com (mail-wm1-f43.google.com [209.85.128.43]) (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 11E4571B33 for ; Thu, 8 Feb 2024 10:51:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.43 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707389473; cv=none; b=oby6ybdsC2WXwQESWxZWKTVHwSqfgYTSkuBegNmdYJjrw6Ev1ZCC34dcqDayfjHgqRUHVE87+fV5nXZxNDOzHnUOZpSNJa0e4rSaZhF00CTbAWfqYiqCiAXL3avLecMIo9E3BiKxJW4/9xmBAM98zC00FZUFD8BVnIFsDQX7o7A= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707389473; c=relaxed/simple; bh=xJfnEJ+zVsCbj3Czpg60LPhMDPo5+HXP6lXubKlhf+E=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=GtV0OfFgVBDDad1ppVXuxJL00VvZBnoJZTZgJwHLYFWD8ovGwkGnamvzrvVCqU9Qcup6UhSWvgwx5FoL53BRgCunPdQBK36dqQHzVO2ytKdGIdtzEsc39YLMx22Csl2y1n1sZhOaDa7jMXUvD/sOnkfjIMkQLdLeGS46vme/gMs= 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=WnZep+P1; arc=none smtp.client-ip=209.85.128.43 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 Received: by mail-wm1-f43.google.com with SMTP id 5b1f17b1804b1-4102eae7e6aso6602775e9.3 for ; Thu, 08 Feb 2024 02:51:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1707389469; x=1707994269; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=lkWzwIjo/uZaIYjgKgDNcnhcc1cwlKLdvZXvoZJLBm8=; b=WnZep+P1F4+Nsn24SCC7jw8PnKUaajsse5HmxzZGZUM6Ye058QFnSXydVHVWcUkFax oZhe5S/sPfWSN6QKYmUtDnBQIZJnEs4Z4f5kWGxSWSYvyfFyqCx/sF6w4NL4AsObpgJ+ wMvRChH86mLXAsEQkayxx8GYVc7DXOiad3/aDRH06NA/S6BAB7GIdCv2ZF6046n+d2CP XeGzLpH434DX3b6Gq6/NnY38f69jBjBCsL9ndwZUhPlYZNaTOTtwdpE5S1GORK1BgHZr eQwT3O9zc9xG4FncJbSRIn3D/UiEGo0zwPq/pqN+sFd3L1a0VnS0dXHbmEs4oZxwfQgn l79g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707389469; x=1707994269; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=lkWzwIjo/uZaIYjgKgDNcnhcc1cwlKLdvZXvoZJLBm8=; b=FJUW+INcSNJCkTBOJr7YMs7UXHvk514VIvm4H/ouurmogz6k+QXYLW5oKCAA7cgEL8 tkYCIjEOTuSQjp8oP/7oHhaH4OTMlSY3E1Pm88WG3BkHB0nPcO2b75ugErGfDdmJIEcH O0jUfDBV7MFMX/yOGDCVD3wOXtiTFKtzIBHTMu/pHFT+zreI+cJ5/6XNGK1zn4Xw0YvS PEMUEiNCcRH/QtRg0DcVLTwTN7fCEkbYjYxPABvFK06sIU9gMyyaHhMxavKGHzQVZUMo H1WKGjDrMAIho4kxZ+ph2oT334jD+14Lm1DCA10x3Wm9gRW21Rz/6x+ow+PjZ1E/Z75V FJuw== X-Forwarded-Encrypted: i=1; AJvYcCXUx2LqRA2ZqFmr0rCao7mZkB7+aUrBgrBcKJpWY7laqS3VFIrnh/fWQvDbjCxdqVe7sbivjJF3n0xEMEpmR4VtoL4Jj14UPIU/PEFG X-Gm-Message-State: AOJu0Yy/t2irCxzY6V49NgBtZKywKzSVTerF49ZJSpvcIzW0Sl7qIKB/ PI72f/0kAx0SME6hwdxf3qY4KDLISVtSerTT0dcSWRQh2uidbzWfS+vQb6fhfIQ= X-Received: by 2002:adf:a3d0:0:b0:33b:2100:3a44 with SMTP id m16-20020adfa3d0000000b0033b21003a44mr5785649wrb.39.1707389469321; Thu, 08 Feb 2024 02:51:09 -0800 (PST) X-Forwarded-Encrypted: i=1; AJvYcCXXdJz84ovdU6pVqpNw60wd7HVwL15lYcM+n6oKgtk++P2/cWs0wiEm4kCDeoSC295ABHv6ze6F0PqI/Vog2Kl9f5nws8pWwqCTIDOdU3oqLsabsMlEJt3WF7y93IGweLBiR6AAK3/44S/b9d9jJwhVUl0Gwp1olFjo978YBfnrMyvovgy4r9By/4HqInf/JKChViz9WnRTL4m5SbOAmlSP1O+CicgzP78T8B9TiCk/JRJ8 Received: from krzk-bin.. ([178.197.222.62]) by smtp.gmail.com with ESMTPSA id s1-20020a5d69c1000000b0033b4719eb6esm3308283wrw.27.2024.02.08.02.51.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Feb 2024 02:51:08 -0800 (PST) From: Krzysztof Kozlowski To: Bjorn Andersson , Konrad Dybcio , Georgi Djakov , linux-arm-msm@vger.kernel.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 6/6] interconnect: qcom: x1e80100: constify pointer to qcom_icc_bcm Date: Thu, 8 Feb 2024 11:50:56 +0100 Message-Id: <20240208105056.128448-7-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240208105056.128448-1-krzysztof.kozlowski@linaro.org> References: <20240208105056.128448-1-krzysztof.kozlowski@linaro.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1790327752990840700 X-GMAIL-MSGID: 1790327752990840700 Pointers to struct qcom_icc_bcm are const. Signed-off-by: Krzysztof Kozlowski --- drivers/interconnect/qcom/x1e80100.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/interconnect/qcom/x1e80100.c b/drivers/interconnect/qcom/x1e80100.c index 281295a9a077..99824675ee3f 100644 --- a/drivers/interconnect/qcom/x1e80100.c +++ b/drivers/interconnect/qcom/x1e80100.c @@ -1542,7 +1542,7 @@ static struct qcom_icc_bcm bcm_sn4 = { .nodes = { &qnm_usb_anoc }, }; -static struct qcom_icc_bcm *aggre1_noc_bcms[] = { +static struct qcom_icc_bcm * const aggre1_noc_bcms[] = { }; static struct qcom_icc_node * const aggre1_noc_nodes[] = { @@ -1730,7 +1730,7 @@ static const struct qcom_icc_desc x1e80100_gem_noc = { .num_bcms = ARRAY_SIZE(gem_noc_bcms), }; -static struct qcom_icc_bcm *lpass_ag_noc_bcms[] = { +static struct qcom_icc_bcm * const lpass_ag_noc_bcms[] = { }; static struct qcom_icc_node * const lpass_ag_noc_nodes[] = { @@ -1871,7 +1871,7 @@ static const struct qcom_icc_desc x1e80100_pcie_north_anoc = { .num_bcms = ARRAY_SIZE(pcie_north_anoc_bcms), }; -static struct qcom_icc_bcm *pcie_south_anoc_bcms[] = { +static struct qcom_icc_bcm * const pcie_south_anoc_bcms[] = { }; static struct qcom_icc_node * const pcie_south_anoc_nodes[] = { @@ -1890,7 +1890,7 @@ static const struct qcom_icc_desc x1e80100_pcie_south_anoc = { .num_bcms = ARRAY_SIZE(pcie_south_anoc_bcms), }; -static struct qcom_icc_bcm *system_noc_bcms[] = { +static struct qcom_icc_bcm * const system_noc_bcms[] = { &bcm_sn0, &bcm_sn2, &bcm_sn3, @@ -1928,7 +1928,7 @@ static const struct qcom_icc_desc x1e80100_usb_center_anoc = { .num_bcms = ARRAY_SIZE(usb_center_anoc_bcms), }; -static struct qcom_icc_bcm *usb_north_anoc_bcms[] = { +static struct qcom_icc_bcm * const usb_north_anoc_bcms[] = { }; static struct qcom_icc_node * const usb_north_anoc_nodes[] = { @@ -1944,7 +1944,7 @@ static const struct qcom_icc_desc x1e80100_usb_north_anoc = { .num_bcms = ARRAY_SIZE(usb_north_anoc_bcms), }; -static struct qcom_icc_bcm *usb_south_anoc_bcms[] = { +static struct qcom_icc_bcm * const usb_south_anoc_bcms[] = { }; static struct qcom_icc_node * const usb_south_anoc_nodes[] = {