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,