Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp3349333lqp; Tue, 26 Mar 2024 07:02:01 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCU4OzlzMbm4K39kooppm2AUlXI5KIeZBhUmaRUCx38fy4H1ebxSkH2DsHKMZeGQ+qWrJg0cFsQXIZSVZSdcIn7hlNE59pa47V8HO0lwXA== X-Google-Smtp-Source: AGHT+IEIHIUkwyoLmaXC5jUCFNzh217T+pfhdIwYGh3SmTvJsDWmMzw3olQK4/Y8MJCO4xSoN1Df X-Received: by 2002:a17:902:e842:b0:1e0:b1a7:4732 with SMTP id t2-20020a170902e84200b001e0b1a74732mr9723898plg.24.1711461721698; Tue, 26 Mar 2024 07:02:01 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711461721; cv=pass; d=google.com; s=arc-20160816; b=YaJuYXCpJ0dGeOiPFcr+quLkeOy7VpzbtNgetDo5I2Iy4Vyuz/oU1wcQ8/ki0wI+SH PnEwTke6FvJntcICmI1pMCLJB7GpmuosPVTGo+8IgoImEVTssWZYLXsQyTZRI4Av72wc 9t+uTyJaN7avmXDSBP5bshP+MGjjjWeq9k8swShLRnnZyk8ECzUEO2MRN8eFgVw0mw5j L+hu7meV7dIgDBExpoOJLM8A3W4jkU60UnvgE/VTlCtDp5a281UcEYeNYMVX49bjjnSO Y4zank9Xs4mLZT9LFLsK5se9qOzFCTpI2mhvj2h4+5KHbVILT1P9SUf7aMlEy6lEWUFD rubA== 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=zukROtMJFsr3arxdUPiOqIDx7ETIJ+qKspxu2VKf9eA=; fh=vpzg6F5xNn2AnO5MzK/m8LdYiJxQmixTmJWsMx6OA3c=; b=m6nnWz3eVBNT/gpzZIsHs2RYfUrSt3QZ++QQZCZAMuj4BZPr3j9Dc/RpfPvt1Jz6J4 x60ZS9CffXNUjMhLxS21BqIScp05mxpXbJKFktkxJo5raHWF2+L3q6frdndJKsYthxlg fbjXnucu+KSIBJR3CMd0HnSFc0q56c4pIUZWKfcJSq96hIGpwnLKM1dc2py7oDNmTll1 zWKi09E/8cyFXku1Smd8obxKnczqmyZZrC3Po7zafBk2lmCW7x/6kHD0lEouioN4AYVO yWpDbY0M7X2HEzdZpFrMvVR+02JaeI/Qn35xjlrigcb1voDF25FI+yMh71EJDFqXzFJS vJgA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=rKVoACsQ; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-119109-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-119109-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id b184-20020a6334c1000000b005dc16b88e8dsi9552772pga.353.2024.03.26.07.02.01 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Mar 2024 07:02:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-119109-linux.lists.archive=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=@kernel.org header.s=k20201202 header.b=rKVoACsQ; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-119109-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-119109-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.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 0A665B22A6A for ; Tue, 26 Mar 2024 14:01:59 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id EF71D7EF0F; Tue, 26 Mar 2024 14:01:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="rKVoACsQ" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1027C757FD; Tue, 26 Mar 2024 14:01:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711461693; cv=none; b=bHs1hWYhhHF9C39TlcPTN2Unht1JKH50SS688jwXp2dtllEj9eIY4Fvo3CzJH4NTpOSUtd7MZmN6BiqbZsejBhDBkmumVsbdR8tpYk5lVK7HAh/GRaib+XH3NGpNwcqpbV9hfFDx80tEy/GoHHKKOb6MZhBeHGf5hVeW8iykOzM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711461693; c=relaxed/simple; bh=sshlJawg659jSJfqUQ6B4XGmjcjFXGGOIn2jUhaVb9U=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=WRUJX+BegCfF1lcxXDbx5jloShuszyi9gbB6Dw3zUNzwuIWooDacBqQb+UKauIrtea7uxVXAr1UiiceBPtZQ+mdNcES4rOaFg6r0MsE7p7ZlB+VM1fadlSKPsSyJBoDYQ/+w8qdsem6G69Y6PfroRJWwdm7/NjScKZsyMIC/DPw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=rKVoACsQ; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id A7B8BC433A6; Tue, 26 Mar 2024 14:01:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1711461692; bh=sshlJawg659jSJfqUQ6B4XGmjcjFXGGOIn2jUhaVb9U=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=rKVoACsQNc8saXiMROuxFyNJiPoe+4lapP5s6rohMVryogcSykeied/MZMn4lTjAy xGmUFXVigXSJwQoLZPR+7NLHcJ0Y2IVdEiUGt4tnrSSqdTi/kgarFjpIxjnHOkt6NP m3q5Xmq0sGpbr+ljYdR0bzUSrrWSgFEYPtndnKooQmHAj9EbfqjNuppmHgvvNZugGj vjCA+R+OJkgj0IpKMGmAtv09fcYaUds9Phi6ttscTbN2AFCYnAazff54S/Q+dDgcbY gunLiHCOaWHABdrAGB3gw0zc/ZJFyHl98X1B+XDAkcJkOGw5SAtKgGSlHPIUc6f8id iXlK71+UD2jDA== Received: from johan by xi.lan with local (Exim 4.97.1) (envelope-from ) id 1rp7My-000000005Yt-3rXx; Tue, 26 Mar 2024 15:01:40 +0100 From: Johan Hovold To: Bjorn Andersson Cc: Konrad Dybcio , Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Mark Brown , Dmitry Baryshkov , linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, Johan Hovold Subject: [PATCH 3/5] clk: qcom: gpucc-sc8280xp: make cc descriptor const Date: Tue, 26 Mar 2024 15:01:06 +0100 Message-ID: <20240326140108.21307-4-johan+linaro@kernel.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240326140108.21307-1-johan+linaro@kernel.org> References: <20240326140108.21307-1-johan+linaro@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Add the missing 'const' keyword to mark the Qualcomm clock controller descriptor data as constant. Signed-off-by: Johan Hovold --- drivers/clk/qcom/gpucc-sc8280xp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/qcom/gpucc-sc8280xp.c b/drivers/clk/qcom/gpucc-sc8280xp.c index 3611d2d1823d..df6b01768767 100644 --- a/drivers/clk/qcom/gpucc-sc8280xp.c +++ b/drivers/clk/qcom/gpucc-sc8280xp.c @@ -415,7 +415,7 @@ static const struct regmap_config gpu_cc_sc8280xp_regmap_config = { .fast_io = true, }; -static struct qcom_cc_desc gpu_cc_sc8280xp_desc = { +static const struct qcom_cc_desc gpu_cc_sc8280xp_desc = { .config = &gpu_cc_sc8280xp_regmap_config, .clks = gpu_cc_sc8280xp_clocks, .num_clks = ARRAY_SIZE(gpu_cc_sc8280xp_clocks), -- 2.43.0