Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp3305940lqp; Tue, 26 Mar 2024 05:58:54 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUnyYXttRe0SqTGIQ5SUw2GMRM8fQN8zOQRSFu3VOuhRMM0B3idcc6lKP86BpcBmRx9cipr5IE1Ly8PpFzqwCRP51F7cN1DE0MbZ3W6RA== X-Google-Smtp-Source: AGHT+IE1YGB81GWU25+fTMCUW6r7Gom3DP2QCgCFmBjz+GLgDRI3B8ub32aQakSH3t+KtjeE2CIp X-Received: by 2002:a05:622a:1a1a:b0:431:5b53:9a03 with SMTP id f26-20020a05622a1a1a00b004315b539a03mr1163200qtb.25.1711457934351; Tue, 26 Mar 2024 05:58:54 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711457934; cv=pass; d=google.com; s=arc-20160816; b=QdHxiIBSQDFvozMrUgTKD1ydSWzQRuCR8e3yzir5akUbQ/Uuc98sVOH5itnalI5yA3 URVXb0V1VF7CeJfkR6PfeiZ5xsds52UD+oQnUILAAz1qtnde/9R0aYoJN/kH+LbC7kRk waNbObeSvLAyOq+m2/0izFFajuXlKV9Q3c2j9OOBB/AYvzuT4gU8qbI1xmN2aH1INSPu FzVMt2m0bAeQYvSwlFIPpIov5W20rUVNl+UDuOCrhdlVWHaKtDHQzMBOCbb9cY0KCX+z XXDfaBSLeKgBvj2OLJpGZTPCamH9eKifVcWJtGgGfr10VGcebNKn2VlLB2IzdqrlLvD8 ktQw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :subject:date:from:dkim-signature; bh=drVPGfSx+iJ2vgDEnImJCiM3IvlfW1xJHMsQvMhnClE=; fh=llmjFMrORc7xX/dMkTX2MBwtt4APusttzifM2BpCRx0=; b=Z9i5RKtiL33D4LJ/qGS+uYKXcqRhhK8IUkv49cV7k6ZfveC+UzZN72jmE5N9TFifYb qtYySpd5HqjbRdDwijhDqNStRJoQAg6oLrxo3HUNM+56+6l7BY1TNvfJSjm22WnWPJth UvRy5kJ1WjiI7MZdCag+ba2YzwMbLVTxr0xa+pIpo5/EGhU6ZtQ/GVAQsmgsLRDPzXsq wKgDxWKHYHmdO6wQVDKnWO0zlgrgyifvvr/pHjsUhx/oTq8e3384LjRwfJy8bl1W2sRs a6VpjKEcXj8MT2Hoeb1UkHf8xX1Hu4Uq81Be4h4ZFEgHX14fv+isUjgM+LeN8wAdD47G 8DCQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=GTr2HCVD; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-119021-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-119021-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id m16-20020a05622a119000b0043162cc1c62si2666741qtk.594.2024.03.26.05.58.54 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Mar 2024 05:58:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-119021-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=GTr2HCVD; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-119021-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-119021-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com 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 197BF1C3438D for ; Tue, 26 Mar 2024 12:58:54 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id F2F7A763FF; Tue, 26 Mar 2024 12:57:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="GTr2HCVD" Received: from mail-ed1-f52.google.com (mail-ed1-f52.google.com [209.85.208.52]) (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 7D5F8745F4; Tue, 26 Mar 2024 12:57:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.52 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711457875; cv=none; b=C02GBPhJIgJWymakVpY5AAdnv9wsCPJo6rB9ghYq+NswOivPzW+zDXysp7w/eICY4QDu4uTBM7m7KSaeVAaXmC3LAzf0rlvntDqwYCUGRMuYHtnLaQA1VW0LndAEthC22S+uNWjjrrJThFHwRmj2ylbw2jsSssiRqWbjaybdmBA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711457875; c=relaxed/simple; bh=Y0xYcO9bU3WosRx4H9Lrvbw+EdK+hNVOpMluAOikeW8=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=Ynq84QTT+We37nMiTQ3hIIriBq6lLrVJ4syu5g8rSBw0kLdRPGd+hCAb6pY2dvUzmJ0eua7GWh/eNQmGM3sh/5yM2hIfcVKDrSxCHI7eGdBX69YyVwyPgYhMazCWxr0TRZUjmRAUQMNS+3HO5lgIsFXkKFEIY7zMQJ3xePP/5LQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=GTr2HCVD; arc=none smtp.client-ip=209.85.208.52 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-ed1-f52.google.com with SMTP id 4fb4d7f45d1cf-56bf6591865so4624962a12.0; Tue, 26 Mar 2024 05:57:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1711457871; x=1712062671; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=drVPGfSx+iJ2vgDEnImJCiM3IvlfW1xJHMsQvMhnClE=; b=GTr2HCVD+lONEhKEHsVyH+bvau/UOqP4jXFjfAYjz/D9mE8ccFyUXZHHiAHGIxfYX3 gwSPgIETJpcRrLrbDjBIFCUZ/NGoX+b4KngX/dpPD2IJegLFgLPSfcidtmazanDGzUgg dwIlUBW9QRtA+OHQg6wh/wOpqrawQxjv57V05fAcRbl+D5J/VwuHhH/5H7gxnez1jsyR VNEtleAWHDxq17C49N1wLr6tn9pAVkLLGtDyLHSPbYhkeO+jJGYdkn8cRUWXwLKZba9A 8rqIUuXXzMuCba7Krbg6owLyGy2kPEElIgOpI1YZqzs04Ukv2FVYtl1ozsE9L6EXAA5E T5KA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711457871; x=1712062671; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=drVPGfSx+iJ2vgDEnImJCiM3IvlfW1xJHMsQvMhnClE=; b=vJsstDSkMkesIQ851AcHbVrkbhx/uoes5W5iDqyFiHppWkex3/amOYILfw9eGM1E1G maGyxIMRyQz9rRsLho6j++GlM4vD/b/J5oTOjS1vn1eWJmVartRXWDuElesF6++0TFsj QRwCZevjP2FwdDXD8hZBcQ6e+YBTFvoQiP1ELO1i7Q7H0yuAir2b7t2YMZwDQ7egZGWk oHRnRhrRdQK0PJA+ehT0tgGxa1PIMMjbAtuuQe3rZkPWZL9OQEsJz+FeUUDptCli0Hnr T0Y5yuqAr2JlHIlIuernuiZcxYsn1i6qToIdkH+lDuD5y3ZoY2288zfvmAlz3olNkmbB GYtw== X-Forwarded-Encrypted: i=1; AJvYcCVeJBaVXFnKX9czIjL/YpXOiaTRa24nfdOQ5DCJgyem8OKDHpRXIhLO8fx3JwtpkRTa//Wz6z1c2afruzsirk3fDevPhx9B9D+cL3CAaVIogwWQRXudBiDN2KLHgUe2wlvi0N2HA87W X-Gm-Message-State: AOJu0YxW87qfGWsZYDjWLCrFXFZ9dRtH2UqP3SMOjklFMxHmlJ0PfYPt 5LdeH2OMgD7Bi6FUkIhqGIFe2rU7VFwuTc0Sr9s2owgVIO77/S4rfJCdNssm X-Received: by 2002:a50:9e65:0:b0:568:fb58:bc4d with SMTP id z92-20020a509e65000000b00568fb58bc4dmr811049ede.8.1711457870515; Tue, 26 Mar 2024 05:57:50 -0700 (PDT) Received: from [192.168.1.253] (57657817.catv.pool.telekom.hu. [87.101.120.23]) by smtp.googlemail.com with ESMTPSA id n1-20020aa7c781000000b0056bb65f4a1esm4101413eds.94.2024.03.26.05.57.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Mar 2024 05:57:50 -0700 (PDT) From: Gabor Juhos Date: Tue, 26 Mar 2024 13:57:41 +0100 Subject: [PATCH v3 4/5] clk: qcom: apss-ipq-pll: constify clk_init_data structures Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20240326-apss-ipq-pll-cleanup-v3-4-15c4aeeb14ac@gmail.com> References: <20240326-apss-ipq-pll-cleanup-v3-0-15c4aeeb14ac@gmail.com> In-Reply-To: <20240326-apss-ipq-pll-cleanup-v3-0-15c4aeeb14ac@gmail.com> To: Bjorn Andersson , Konrad Dybcio , Dmitry Baryshkov , Michael Turquette , Stephen Boyd Cc: linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, Gabor Juhos X-Mailer: b4 0.13.0 The clk_init_data structures are never modified, so add const qualifier to the ones where it is missing. No functional changes. Reviewed-by: Dmitry Baryshkov Reviewed-by: Konrad Dybcio Signed-off-by: Gabor Juhos --- Changes in v3: - rebase on top of v6.9-rc1 - add Reviewed-by tags from Dmitry and Konrad - Link to v2: https://lore.kernel.org/r/20240321-apss-ipq-pll-cleanup-v2-5-201f3cf79fd4@gmail.com Changes in v2: - no changes - Link to v1: https://lore.kernel.org/r/20240318-apss-ipq-pll-cleanup-v1-5-52f795429d5d@gmail.com --- drivers/clk/qcom/apss-ipq-pll.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/clk/qcom/apss-ipq-pll.c b/drivers/clk/qcom/apss-ipq-pll.c index 191b87df51bba..1a6f4db253796 100644 --- a/drivers/clk/qcom/apss-ipq-pll.c +++ b/drivers/clk/qcom/apss-ipq-pll.c @@ -15,7 +15,7 @@ static struct clk_alpha_pll ipq_pll_huayra = { .clkr = { .enable_reg = 0x0, .enable_mask = BIT(0), - .hw.init = &(struct clk_init_data){ + .hw.init = &(const struct clk_init_data) { .name = "a53pll", .parent_data = &(const struct clk_parent_data) { .fw_name = "xo", @@ -55,7 +55,7 @@ static struct clk_alpha_pll ipq_pll_stromer_plus = { .clkr = { .enable_reg = 0x0, .enable_mask = BIT(0), - .hw.init = &(struct clk_init_data){ + .hw.init = &(const struct clk_init_data) { .name = "a53pll", .parent_data = &(const struct clk_parent_data) { .fw_name = "xo", -- 2.44.0