Message ID | 20240208105056.128448-2-krzysztof.kozlowski@linaro.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-57887-ouuuleilei=gmail.com@vger.kernel.org> 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 <ouuuleilei@gmail.com> (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 <ouuuleilei@gmail.com>; 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 <linux-kernel@vger.kernel.org>; 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 <linux-kernel@vger.kernel.org>; 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 <krzysztof.kozlowski@linaro.org> To: Bjorn Andersson <andersson@kernel.org>, Konrad Dybcio <konrad.dybcio@linaro.org>, Georgi Djakov <djakov@kernel.org>, linux-arm-msm@vger.kernel.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> 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: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1790327668400859741 X-GMAIL-MSGID: 1790327668400859741 |
Series |
interconnect: qcom: constify things
|
|
Commit Message
Krzysztof Kozlowski
Feb. 8, 2024, 10:50 a.m. UTC
Pointers to struct qcom_icc_node are const.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
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,