Received: by 2002:ab2:620c:0:b0:1ef:ffd0:ce49 with SMTP id o12csp146302lqt; Mon, 18 Mar 2024 04:21:17 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVSrHmFeNQFnrtcZxTXYo/6LCsBGxO1BpTQhKDP/YoGg9My6onMCOT3Z/4i3T96G0xAJHkIBR18aZOHzcL8Z7q/ixYq+ZKaLAOnBByhFw== X-Google-Smtp-Source: AGHT+IG/Xe7xmgTTYAzYcreNYwEdi35FK4qiHAFRM0+dMy7CRxHmao3r10RD9a28VHxezidfgrBA X-Received: by 2002:a05:6a00:8506:b0:6e6:fb33:efcc with SMTP id ha6-20020a056a00850600b006e6fb33efccmr6708778pfb.1.1710760876991; Mon, 18 Mar 2024 04:21:16 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710760876; cv=pass; d=google.com; s=arc-20160816; b=S+pfP6Wb19K9TjVSvXs9ppT41n2+Im+7NZLvRfdLDKVP/LiLK5ZrVMgEq5zRbbUX35 oiMgdlXpba4ZRtFb9Jl+g6iCUs/QP2/rYuBafX0XKMr9kXqSwPGUhUIY3wOOH1HAZQcO vhKnnLZINvVekw9eIr7ubrOcoaXa/gCRU6S3UuwVxmWKkgdWe3P78dR0yTbJEsso79At Gvdk02wWVH5x3GhTs5+5Nw8eGHwnQAAdEhAwVMIIEJmfINdt0r9mmdSXEW4XmN2pkjet ehL0USfMMXMp2irombjWriTN4YRySNoc+VEl732NRj5ujsh9Ix146L0wQLwOBi3KPn/Q NGQQ== 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=kPuoOY9/Q98dbqm96E10istRwlwF4G6fYLA56NqAfeQ=; fh=O1Pqy2IYX7355wKqmB918dFJg3j67ZXwYesV3UB1doI=; b=ar75+EmBNkdmWqLc9b/rXeCaJFOPky2N4Od6Wri6cq+UQxZFSrqiy6pdrtsFgNMw5m Av2BbI6ic2xr6wspVOgh6hD6LYQ/bib3UAmfIGJYTcfr2pSe8bk3aM1ZDxJU+scxGFdj KFeNwjGg3mf21ivVHFBnnSLlMw9kSdZoo/w/wdkqVTaQthSytAtPVG+a50PKGwO7iIcx x7y9r8ckhF0vbvR+YjnczDS7Td2M9Yp2sh5M4zi7nxD0A7eit35vV7ztyqyMKIdHUB1e ZP363pkJyJ4fmuR1keQZo7ARE20nPbTmiOR5wZZtsHeMAIeSNP6YkPcVgJwYcWIlJfBO 2Xhw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=De65PA0O; 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-106058-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-106058-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id y31-20020a056a00181f00b006e5a659dd8fsi8942439pfa.392.2024.03.18.04.21.16 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Mar 2024 04:21:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-106058-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=De65PA0O; 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-106058-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-106058-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 8003F28264B for ; Mon, 18 Mar 2024 11:21:16 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6C17C364A5; Mon, 18 Mar 2024 11:20:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="De65PA0O" Received: from mail-wr1-f51.google.com (mail-wr1-f51.google.com [209.85.221.51]) (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 01116381C5; Mon, 18 Mar 2024 11:20:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.51 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710760809; cv=none; b=j2xbN9/1zwQkkUd2inKrTYkWSrlMKl85cjfCdF1rG7isrNv6f6IuGK1OU/TUOmo0Euk+zeLlXsjGELvDBjM3ND8c8gbQ3BlgyvvO/IlPKStIHtnVD1VLP+hcqdNuydv0qmWg/i3ndw7i3B/Umi2xAAuoH5dNueXTpyNrEuIOgyc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710760809; c=relaxed/simple; bh=VeSHBpyUKXYt/Yh7tQKPCVQRJ1T9+Llp9DI0p6yKfjs=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=Y0Uh+9Rn8TDYc/NGHFiyngczZqQKTCMPmKK2hS+K4SDHVPmpxlecRfkvWD8A3y9/L1Tiyb0/aol1S4qHWSRyh07I9CRXqN8F1xKmXEfSVqNujnxR4plVvhxAmzCXtLyf8hMzcMLx4MELzqoYJXgsG8JEWwbKBNme3b06MNr46S4= 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=De65PA0O; arc=none smtp.client-ip=209.85.221.51 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-wr1-f51.google.com with SMTP id ffacd0b85a97d-3416df43cabso609038f8f.3; Mon, 18 Mar 2024 04:20:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1710760806; x=1711365606; 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=kPuoOY9/Q98dbqm96E10istRwlwF4G6fYLA56NqAfeQ=; b=De65PA0O4Po2tbxqrs5PcqG1HaTvAxUKwY/T3t2GdDzw7o+XXgXrL8Bz2QoUo6a1Ib Ug6/9UDwxE2EstIp4sGIRE8+JfInpB2Jt+KycdOOVCKdBzeOK8ZRg1CPgupR4769sRO+ TqXOp4NJ9c7opnkbw7K6yJXYKl8Kv4We0fqsDJdABhNseyMKJbxOJregN5Ib2SGLbCys eu4yiCskFyJtE5FyERYGaEhRkA/hKTvVfFZAVJI/PAIixtiC/GdvoKeqfarIek6FQUZ3 TxmSokl9SyKcmIN/zbf5Wai5AbCIUty81yIySCijHY/SX4VEI8hyQA+ZoXmbGkGyFvEe 1hzw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710760806; x=1711365606; 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=kPuoOY9/Q98dbqm96E10istRwlwF4G6fYLA56NqAfeQ=; b=mUrFyIqWRmqIvMOhGTZPIQ9we+TzqhxbmXI1mVilJGbGkYu6ymOZ+hgz8S1pbL8ogr UScamhNaPDbpmazOQbT2LjDIXOcGX+MtqgtorO0NcwN+bUwQd0Fkjvi3GVaWqBnfFCHr xT6l0GyKzkiW+jkAazw3u+FrMzcOEJX6tDJPUfZaHtpQ0OhQl9/tQbS4IK9+vrBQoxl8 VT1v51cVRuLWCNhr/oX4szBEloHN2lKgall4t5TPOf9lyW83ZGd1/lEs8nG6R/5IyND7 AopUwpuJRJ7I/xCwvLn8owQyud8wLXEHXomAkfUDRgV4YsRSTdHtRWXd8oVFocxF6CCy mFXQ== X-Forwarded-Encrypted: i=1; AJvYcCVZbHBIRyqzOautmQUmf86VfJcfyrqN2+yAgQdgXSFy6z1xsfNMtkRDy+Yyi6BppRMIzHA5VVHcCsTxrGN4ohy3k28lHmsrmmlu0G+zPqfu6d8SSIaDJklkLKGXrLeB2FxN1vqSLGnb X-Gm-Message-State: AOJu0Yw9Z/uqEGvWlKvO+Trh10yRTNSS0LNNzEph8wTnrvgY6XAdwGCh 0AN7N7LxRI/NL4/u+ijMSv7RA23ZGMtPL1xCJtG5KDfkRjCrGIrT X-Received: by 2002:adf:eb11:0:b0:33d:2472:eb8c with SMTP id s17-20020adfeb11000000b0033d2472eb8cmr7350002wrn.19.1710760806267; Mon, 18 Mar 2024 04:20:06 -0700 (PDT) Received: from [192.168.20.102] (57657817.catv.pool.telekom.hu. [87.101.120.23]) by smtp.googlemail.com with ESMTPSA id az1-20020adfe181000000b0033ed7181fd1sm6650421wrb.62.2024.03.18.04.20.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Mar 2024 04:20:05 -0700 (PDT) From: Gabor Juhos Date: Mon, 18 Mar 2024 12:19:59 +0100 Subject: [PATCH 5/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: <20240318-apss-ipq-pll-cleanup-v1-5-52f795429d5d@gmail.com> References: <20240318-apss-ipq-pll-cleanup-v1-0-52f795429d5d@gmail.com> In-Reply-To: <20240318-apss-ipq-pll-cleanup-v1-0-52f795429d5d@gmail.com> To: Bjorn Andersson , Konrad Dybcio , 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.12.3 The clk_init_data structures are never modified, so add const qualifier to the ones where it is missing. No functional changes. Signed-off-by: Gabor Juhos --- 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 6ee71ed6baed1..6cf093f7f91eb 100644 --- a/drivers/clk/qcom/apss-ipq-pll.c +++ b/drivers/clk/qcom/apss-ipq-pll.c @@ -31,7 +31,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", @@ -71,7 +71,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