From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f54.google.com (mail-wm1-f54.google.com [209.85.128.54]) (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 F233822086 for ; Wed, 17 Jul 2024 08:09:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.54 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721203777; cv=none; b=YExT8JPWeaq90FkFVvjCTzJYpArZwl6xbiQXnHiH10An9MMwe8JGGDF4GVlC7Gn36AJwUPNpJl05YObVvAvg/S16iA2pH3CkmXC5o9Eq5If4fs9cgDFrc8KMW8pDZo8bCtjhU/ihX/ticH1JUJiUILDsvK7IjhVxoLYSgbuOvRY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721203777; c=relaxed/simple; bh=FgCKj4OSvqHoNNK7VkqAdfIeeaA9JWF7MLXloOcEvjI=; h=Message-ID:Date:MIME-Version:From:Subject:To:Cc:References: In-Reply-To:Content-Type; b=tjG4FdYPw30jDh87/bYMXZVA+leO6xYjUwAyhABn+TBUHw8sMfFMSDFVZWPyq3xssX/eKgw49yidtp1L4DRXX5v3AnkyXOLsm7m4E5Z2bMYFnmFuuebtE8pbGE3D4kgwotQnaq6dFAWW+XreJFDIcKsA4+RHPcuCeT+v/f+REL8= 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=f8NE96x8; arc=none smtp.client-ip=209.85.128.54 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="f8NE96x8" Received: by mail-wm1-f54.google.com with SMTP id 5b1f17b1804b1-426636ef8c9so44381175e9.2 for ; Wed, 17 Jul 2024 01:09:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1721203773; x=1721808573; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:organization:autocrypt :content-language:references:cc:to:subject:reply-to:from:user-agent :mime-version:date:message-id:from:to:cc:subject:date:message-id :reply-to; bh=rBzKSHfh7wKWWxA5PVilZfEHEJELku1Sh65y5X+21vs=; b=f8NE96x8KtgMyPJxdsDyM3+DlAwvsaCalr0vTmKz+XKgwx1cj3BHM0Mggb42JuveFb 7Uv4vcgY8KYQpBLEq6YIpmDiYsE5IAFi3h+zNRNVQKdGHMP3XanaSHu+ELRyKPGFsAZw kzriamWfCYfb9UxqpG/iVhjImp+mIguKYTKjuUctG+8g0LlYrQDsx9ejahkXHjlhDHNY ZxiO6b+3IbeWV5PmkF3/5/9Yw2QumdpY9ebpeCM8Gl1iHT3Q1ojblaTLGp503ZJak+9j VO03S3b+6V9RucumeS46m41Y5Rknr5kqWJgVJKIFw1FLPSKrOJMB2+u1GTm68YUJyBxy 2+Qg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721203773; x=1721808573; h=content-transfer-encoding:in-reply-to:organization:autocrypt :content-language:references:cc:to:subject:reply-to:from:user-agent :mime-version:date:message-id:x-gm-message-state:from:to:cc:subject :date:message-id:reply-to; bh=rBzKSHfh7wKWWxA5PVilZfEHEJELku1Sh65y5X+21vs=; b=ZBf6QbBR7xhTCwcoFsW8WJNw700NdPKpwC3rRI6dgYX2dJI8PDCKfkXAznQPXnJjDK ZjIuhSDu0igECoPvPsbhqTxe9762H4ny03JW2qjyi2W5YcfCvROwqdWBGKJEHH6MK+Nq h4tRe2BAJ3aPLkEuPmFX0wUB7qgGk9ZmmK2BXoaMHJJ4mRS3OFajv3dHXaey0T/0e+Pv a+p4mHI0VgTM5PiZiQINLna0xxlvaDOy5DoTdaUimQWhxFAd0H0qLl9PIyC5Ouvm5Sxc BPv5rQkSFs79P5qAqeldKPlspiLY3UPdB8axRuqATzEwGKZ78U7uTfIUUeDgbf/TquCP sjyA== X-Forwarded-Encrypted: i=1; AJvYcCVWlPLptrl/LEP1Ohv3SVP7AXjc82m+sVCLCCfSg7gb9XDKsVYtD/oC4RDeDjzW31IjQ2Sz8piI2ogPfVMn5TT5sUbVZQJhnruFbA== X-Gm-Message-State: AOJu0YzwoXJoVnVIlVykMUra38oFIdOFd3M5i5Udzb9KHIHjq86BycKe 50c8b7JNLlJbUOPuW2KeNq3yxSOlMPfkXYdw8oT0V9fwsNa1mspLJ4rX3jplzVc= X-Google-Smtp-Source: AGHT+IHHDARt8187I56XqWThzPdees7gqK1a9HyV7ULj9nYQrANy3Jig+GDr+u7tY1R2HNXEtU6Ybg== X-Received: by 2002:a05:600c:4eca:b0:426:549c:294c with SMTP id 5b1f17b1804b1-427c2d06e43mr7842655e9.35.1721203772957; Wed, 17 Jul 2024 01:09:32 -0700 (PDT) Received: from ?IPV6:2a01:e0a:982:cbb0:c5b9:9b90:b1c4:1a1d? ([2a01:e0a:982:cbb0:c5b9:9b90:b1c4:1a1d]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3680dabf52bsm10907558f8f.48.2024.07.17.01.09.31 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 17 Jul 2024 01:09:32 -0700 (PDT) Message-ID: Date: Wed, 17 Jul 2024 10:09:31 +0200 Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird From: Neil Armstrong Reply-To: neil.armstrong@linaro.org Subject: Re: [PATCH 3/7] clk: qcom: dispcc-sm8550: make struct clk_init_data const To: Dmitry Baryshkov , Bjorn Andersson , Michael Turquette , Stephen Boyd , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org References: <20240717-dispcc-sm8550-fixes-v1-0-efb4d927dc9a@linaro.org> <20240717-dispcc-sm8550-fixes-v1-3-efb4d927dc9a@linaro.org> Content-Language: en-US, fr Autocrypt: addr=neil.armstrong@linaro.org; keydata= xsBNBE1ZBs8BCAD78xVLsXPwV/2qQx2FaO/7mhWL0Qodw8UcQJnkrWmgTFRobtTWxuRx8WWP GTjuhvbleoQ5Cxjr+v+1ARGCH46MxFP5DwauzPekwJUD5QKZlaw/bURTLmS2id5wWi3lqVH4 BVF2WzvGyyeV1o4RTCYDnZ9VLLylJ9bneEaIs/7cjCEbipGGFlfIML3sfqnIvMAxIMZrvcl9 qPV2k+KQ7q+aXavU5W+yLNn7QtXUB530Zlk/d2ETgzQ5FLYYnUDAaRl+8JUTjc0CNOTpCeik 80TZcE6f8M76Xa6yU8VcNko94Ck7iB4vj70q76P/J7kt98hklrr85/3NU3oti3nrIHmHABEB AAHNKk5laWwgQXJtc3Ryb25nIDxuZWlsLmFybXN0cm9uZ0BsaW5hcm8ub3JnPsLAkQQTAQoA OwIbIwULCQgHAwUVCgkICwUWAgMBAAIeAQIXgBYhBInsPQWERiF0UPIoSBaat7Gkz/iuBQJk Q5wSAhkBAAoJEBaat7Gkz/iuyhMIANiD94qDtUTJRfEW6GwXmtKWwl/mvqQtaTtZID2dos04 YqBbshiJbejgVJjy+HODcNUIKBB3PSLaln4ltdsV73SBcwUNdzebfKspAQunCM22Mn6FBIxQ GizsMLcP/0FX4en9NaKGfK6ZdKK6kN1GR9YffMJd2P08EO8mHowmSRe/ExAODhAs9W7XXExw UNCY4pVJyRPpEhv373vvff60bHxc1k/FF9WaPscMt7hlkbFLUs85kHtQAmr8pV5Hy9ezsSRa GzJmiVclkPc2BY592IGBXRDQ38urXeM4nfhhvqA50b/nAEXc6FzqgXqDkEIwR66/Gbp0t3+r yQzpKRyQif3OwE0ETVkGzwEIALyKDN/OGURaHBVzwjgYq+ZtifvekdrSNl8TIDH8g1xicBYp QTbPn6bbSZbdvfeQPNCcD4/EhXZuhQXMcoJsQQQnO4vwVULmPGgtGf8PVc7dxKOeta+qUh6+ SRh3vIcAUFHDT3f/Zdspz+e2E0hPV2hiSvICLk11qO6cyJE13zeNFoeY3ggrKY+IzbFomIZY 4yG6xI99NIPEVE9lNBXBKIlewIyVlkOaYvJWSV+p5gdJXOvScNN1epm5YHmf9aE2ZjnqZGoM Mtsyw18YoX9BqMFInxqYQQ3j/HpVgTSvmo5ea5qQDDUaCsaTf8UeDcwYOtgI8iL4oHcsGtUX oUk33HEAEQEAAcLAXwQYAQIACQUCTVkGzwIbDAAKCRAWmrexpM/4rrXiB/sGbkQ6itMrAIfn M7IbRuiSZS1unlySUVYu3SD6YBYnNi3G5EpbwfBNuT3H8//rVvtOFK4OD8cRYkxXRQmTvqa3 3eDIHu/zr1HMKErm+2SD6PO9umRef8V82o2oaCLvf4WeIssFjwB0b6a12opuRP7yo3E3gTCS KmbUuLv1CtxKQF+fUV1cVaTPMyT25Od+RC1K+iOR0F54oUJvJeq7fUzbn/KdlhA8XPGzwGRy 4zcsPWvwnXgfe5tk680fEKZVwOZKIEuJC3v+/yZpQzDvGYJvbyix0lHnrCzq43WefRHI5XTT QbM0WUIBIcGmq38+OgUsMYu4NzLu7uZFAcmp6h8g Organization: Linaro In-Reply-To: <20240717-dispcc-sm8550-fixes-v1-3-efb4d927dc9a@linaro.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 16/07/2024 23:13, Dmitry Baryshkov wrote: > The clk_init_data instances are not changed at runtime. Mark them as > constant data. > > Signed-off-by: Dmitry Baryshkov > --- > drivers/clk/qcom/dispcc-sm8550.c | 160 +++++++++++++++++++-------------------- > 1 file changed, 80 insertions(+), 80 deletions(-) > > diff --git a/drivers/clk/qcom/dispcc-sm8550.c b/drivers/clk/qcom/dispcc-sm8550.c > index 8ceeb17bbb37..6bda15bf09ce 100644 > --- a/drivers/clk/qcom/dispcc-sm8550.c > +++ b/drivers/clk/qcom/dispcc-sm8550.c > @@ -95,7 +95,7 @@ static struct clk_alpha_pll disp_cc_pll0 = { > .num_vco = ARRAY_SIZE(lucid_ole_vco), > .regs = clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_LUCID_OLE], > .clkr = { > - .hw.init = &(struct clk_init_data) { > + .hw.init = &(const struct clk_init_data) { > .name = "disp_cc_pll0", > .parent_data = &(const struct clk_parent_data) { > .index = DT_BI_TCXO, > @@ -126,7 +126,7 @@ static struct clk_alpha_pll disp_cc_pll1 = { > .num_vco = ARRAY_SIZE(lucid_ole_vco), > .regs = clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_LUCID_OLE], > .clkr = { > - .hw.init = &(struct clk_init_data) { > + .hw.init = &(const struct clk_init_data) { > .name = "disp_cc_pll1", > .parent_data = &(const struct clk_parent_data) { > .index = DT_BI_TCXO, > @@ -286,7 +286,7 @@ static struct clk_rcg2 disp_cc_mdss_ahb_clk_src = { > .hid_width = 5, > .parent_map = disp_cc_parent_map_6, > .freq_tbl = ftbl_disp_cc_mdss_ahb_clk_src, > - .clkr.hw.init = &(struct clk_init_data) { > + .clkr.hw.init = &(const struct clk_init_data) { > .name = "disp_cc_mdss_ahb_clk_src", > .parent_data = disp_cc_parent_data_6, > .num_parents = ARRAY_SIZE(disp_cc_parent_data_6), > @@ -306,7 +306,7 @@ static struct clk_rcg2 disp_cc_mdss_byte0_clk_src = { > .hid_width = 5, > .parent_map = disp_cc_parent_map_2, > .freq_tbl = ftbl_disp_cc_mdss_byte0_clk_src, > - .clkr.hw.init = &(struct clk_init_data) { > + .clkr.hw.init = &(const struct clk_init_data) { > .name = "disp_cc_mdss_byte0_clk_src", > .parent_data = disp_cc_parent_data_2, > .num_parents = ARRAY_SIZE(disp_cc_parent_data_2), > @@ -321,7 +321,7 @@ static struct clk_rcg2 disp_cc_mdss_byte1_clk_src = { > .hid_width = 5, > .parent_map = disp_cc_parent_map_2, > .freq_tbl = ftbl_disp_cc_mdss_byte0_clk_src, > - .clkr.hw.init = &(struct clk_init_data) { > + .clkr.hw.init = &(const struct clk_init_data) { > .name = "disp_cc_mdss_byte1_clk_src", > .parent_data = disp_cc_parent_data_2, > .num_parents = ARRAY_SIZE(disp_cc_parent_data_2), > @@ -336,7 +336,7 @@ static struct clk_rcg2 disp_cc_mdss_dptx0_aux_clk_src = { > .hid_width = 5, > .parent_map = disp_cc_parent_map_0, > .freq_tbl = ftbl_disp_cc_mdss_byte0_clk_src, > - .clkr.hw.init = &(struct clk_init_data) { > + .clkr.hw.init = &(const struct clk_init_data) { > .name = "disp_cc_mdss_dptx0_aux_clk_src", > .parent_data = disp_cc_parent_data_0, > .num_parents = ARRAY_SIZE(disp_cc_parent_data_0), > @@ -350,7 +350,7 @@ static struct clk_rcg2 disp_cc_mdss_dptx0_link_clk_src = { > .mnd_width = 0, > .hid_width = 5, > .parent_map = disp_cc_parent_map_7, > - .clkr.hw.init = &(struct clk_init_data) { > + .clkr.hw.init = &(const struct clk_init_data) { > .name = "disp_cc_mdss_dptx0_link_clk_src", > .parent_data = disp_cc_parent_data_7, > .num_parents = ARRAY_SIZE(disp_cc_parent_data_7), > @@ -365,7 +365,7 @@ static struct clk_rcg2 disp_cc_mdss_dptx0_pixel0_clk_src = { > .hid_width = 5, > .parent_map = disp_cc_parent_map_4, > .freq_tbl = ftbl_disp_cc_mdss_byte0_clk_src, > - .clkr.hw.init = &(struct clk_init_data) { > + .clkr.hw.init = &(const struct clk_init_data) { > .name = "disp_cc_mdss_dptx0_pixel0_clk_src", > .parent_data = disp_cc_parent_data_4, > .num_parents = ARRAY_SIZE(disp_cc_parent_data_4), > @@ -380,7 +380,7 @@ static struct clk_rcg2 disp_cc_mdss_dptx0_pixel1_clk_src = { > .hid_width = 5, > .parent_map = disp_cc_parent_map_4, > .freq_tbl = ftbl_disp_cc_mdss_byte0_clk_src, > - .clkr.hw.init = &(struct clk_init_data) { > + .clkr.hw.init = &(const struct clk_init_data) { > .name = "disp_cc_mdss_dptx0_pixel1_clk_src", > .parent_data = disp_cc_parent_data_4, > .num_parents = ARRAY_SIZE(disp_cc_parent_data_4), > @@ -395,7 +395,7 @@ static struct clk_rcg2 disp_cc_mdss_dptx1_aux_clk_src = { > .hid_width = 5, > .parent_map = disp_cc_parent_map_0, > .freq_tbl = ftbl_disp_cc_mdss_byte0_clk_src, > - .clkr.hw.init = &(struct clk_init_data) { > + .clkr.hw.init = &(const struct clk_init_data) { > .name = "disp_cc_mdss_dptx1_aux_clk_src", > .parent_data = disp_cc_parent_data_0, > .num_parents = ARRAY_SIZE(disp_cc_parent_data_0), > @@ -409,7 +409,7 @@ static struct clk_rcg2 disp_cc_mdss_dptx1_link_clk_src = { > .mnd_width = 0, > .hid_width = 5, > .parent_map = disp_cc_parent_map_3, > - .clkr.hw.init = &(struct clk_init_data) { > + .clkr.hw.init = &(const struct clk_init_data) { > .name = "disp_cc_mdss_dptx1_link_clk_src", > .parent_data = disp_cc_parent_data_3, > .num_parents = ARRAY_SIZE(disp_cc_parent_data_3), > @@ -424,7 +424,7 @@ static struct clk_rcg2 disp_cc_mdss_dptx1_pixel0_clk_src = { > .hid_width = 5, > .parent_map = disp_cc_parent_map_1, > .freq_tbl = ftbl_disp_cc_mdss_byte0_clk_src, > - .clkr.hw.init = &(struct clk_init_data) { > + .clkr.hw.init = &(const struct clk_init_data) { > .name = "disp_cc_mdss_dptx1_pixel0_clk_src", > .parent_data = disp_cc_parent_data_1, > .num_parents = ARRAY_SIZE(disp_cc_parent_data_1), > @@ -439,7 +439,7 @@ static struct clk_rcg2 disp_cc_mdss_dptx1_pixel1_clk_src = { > .hid_width = 5, > .parent_map = disp_cc_parent_map_1, > .freq_tbl = ftbl_disp_cc_mdss_byte0_clk_src, > - .clkr.hw.init = &(struct clk_init_data) { > + .clkr.hw.init = &(const struct clk_init_data) { > .name = "disp_cc_mdss_dptx1_pixel1_clk_src", > .parent_data = disp_cc_parent_data_1, > .num_parents = ARRAY_SIZE(disp_cc_parent_data_1), > @@ -454,7 +454,7 @@ static struct clk_rcg2 disp_cc_mdss_dptx2_aux_clk_src = { > .hid_width = 5, > .parent_map = disp_cc_parent_map_0, > .freq_tbl = ftbl_disp_cc_mdss_byte0_clk_src, > - .clkr.hw.init = &(struct clk_init_data) { > + .clkr.hw.init = &(const struct clk_init_data) { > .name = "disp_cc_mdss_dptx2_aux_clk_src", > .parent_data = disp_cc_parent_data_0, > .num_parents = ARRAY_SIZE(disp_cc_parent_data_0), > @@ -468,7 +468,7 @@ static struct clk_rcg2 disp_cc_mdss_dptx2_link_clk_src = { > .mnd_width = 0, > .hid_width = 5, > .parent_map = disp_cc_parent_map_3, > - .clkr.hw.init = &(struct clk_init_data) { > + .clkr.hw.init = &(const struct clk_init_data) { > .name = "disp_cc_mdss_dptx2_link_clk_src", > .parent_data = disp_cc_parent_data_3, > .num_parents = ARRAY_SIZE(disp_cc_parent_data_3), > @@ -483,7 +483,7 @@ static struct clk_rcg2 disp_cc_mdss_dptx2_pixel0_clk_src = { > .hid_width = 5, > .parent_map = disp_cc_parent_map_1, > .freq_tbl = ftbl_disp_cc_mdss_byte0_clk_src, > - .clkr.hw.init = &(struct clk_init_data) { > + .clkr.hw.init = &(const struct clk_init_data) { > .name = "disp_cc_mdss_dptx2_pixel0_clk_src", > .parent_data = disp_cc_parent_data_1, > .num_parents = ARRAY_SIZE(disp_cc_parent_data_1), > @@ -498,7 +498,7 @@ static struct clk_rcg2 disp_cc_mdss_dptx2_pixel1_clk_src = { > .hid_width = 5, > .parent_map = disp_cc_parent_map_1, > .freq_tbl = ftbl_disp_cc_mdss_byte0_clk_src, > - .clkr.hw.init = &(struct clk_init_data) { > + .clkr.hw.init = &(const struct clk_init_data) { > .name = "disp_cc_mdss_dptx2_pixel1_clk_src", > .parent_data = disp_cc_parent_data_1, > .num_parents = ARRAY_SIZE(disp_cc_parent_data_1), > @@ -513,7 +513,7 @@ static struct clk_rcg2 disp_cc_mdss_dptx3_aux_clk_src = { > .hid_width = 5, > .parent_map = disp_cc_parent_map_0, > .freq_tbl = ftbl_disp_cc_mdss_byte0_clk_src, > - .clkr.hw.init = &(struct clk_init_data) { > + .clkr.hw.init = &(const struct clk_init_data) { > .name = "disp_cc_mdss_dptx3_aux_clk_src", > .parent_data = disp_cc_parent_data_0, > .num_parents = ARRAY_SIZE(disp_cc_parent_data_0), > @@ -527,7 +527,7 @@ static struct clk_rcg2 disp_cc_mdss_dptx3_link_clk_src = { > .mnd_width = 0, > .hid_width = 5, > .parent_map = disp_cc_parent_map_3, > - .clkr.hw.init = &(struct clk_init_data) { > + .clkr.hw.init = &(const struct clk_init_data) { > .name = "disp_cc_mdss_dptx3_link_clk_src", > .parent_data = disp_cc_parent_data_3, > .num_parents = ARRAY_SIZE(disp_cc_parent_data_3), > @@ -542,7 +542,7 @@ static struct clk_rcg2 disp_cc_mdss_dptx3_pixel0_clk_src = { > .hid_width = 5, > .parent_map = disp_cc_parent_map_1, > .freq_tbl = ftbl_disp_cc_mdss_byte0_clk_src, > - .clkr.hw.init = &(struct clk_init_data) { > + .clkr.hw.init = &(const struct clk_init_data) { > .name = "disp_cc_mdss_dptx3_pixel0_clk_src", > .parent_data = disp_cc_parent_data_1, > .num_parents = ARRAY_SIZE(disp_cc_parent_data_1), > @@ -557,7 +557,7 @@ static struct clk_rcg2 disp_cc_mdss_esc0_clk_src = { > .hid_width = 5, > .parent_map = disp_cc_parent_map_5, > .freq_tbl = ftbl_disp_cc_mdss_byte0_clk_src, > - .clkr.hw.init = &(struct clk_init_data) { > + .clkr.hw.init = &(const struct clk_init_data) { > .name = "disp_cc_mdss_esc0_clk_src", > .parent_data = disp_cc_parent_data_5, > .num_parents = ARRAY_SIZE(disp_cc_parent_data_5), > @@ -572,7 +572,7 @@ static struct clk_rcg2 disp_cc_mdss_esc1_clk_src = { > .hid_width = 5, > .parent_map = disp_cc_parent_map_5, > .freq_tbl = ftbl_disp_cc_mdss_byte0_clk_src, > - .clkr.hw.init = &(struct clk_init_data) { > + .clkr.hw.init = &(const struct clk_init_data) { > .name = "disp_cc_mdss_esc1_clk_src", > .parent_data = disp_cc_parent_data_5, > .num_parents = ARRAY_SIZE(disp_cc_parent_data_5), > @@ -600,7 +600,7 @@ static struct clk_rcg2 disp_cc_mdss_mdp_clk_src = { > .hid_width = 5, > .parent_map = disp_cc_parent_map_8, > .freq_tbl = ftbl_disp_cc_mdss_mdp_clk_src, > - .clkr.hw.init = &(struct clk_init_data) { > + .clkr.hw.init = &(const struct clk_init_data) { > .name = "disp_cc_mdss_mdp_clk_src", > .parent_data = disp_cc_parent_data_8, > .num_parents = ARRAY_SIZE(disp_cc_parent_data_8), > @@ -615,7 +615,7 @@ static struct clk_rcg2 disp_cc_mdss_pclk0_clk_src = { > .hid_width = 5, > .parent_map = disp_cc_parent_map_2, > .freq_tbl = ftbl_disp_cc_mdss_byte0_clk_src, > - .clkr.hw.init = &(struct clk_init_data) { > + .clkr.hw.init = &(const struct clk_init_data) { > .name = "disp_cc_mdss_pclk0_clk_src", > .parent_data = disp_cc_parent_data_2, > .num_parents = ARRAY_SIZE(disp_cc_parent_data_2), > @@ -630,7 +630,7 @@ static struct clk_rcg2 disp_cc_mdss_pclk1_clk_src = { > .hid_width = 5, > .parent_map = disp_cc_parent_map_2, > .freq_tbl = ftbl_disp_cc_mdss_byte0_clk_src, > - .clkr.hw.init = &(struct clk_init_data) { > + .clkr.hw.init = &(const struct clk_init_data) { > .name = "disp_cc_mdss_pclk1_clk_src", > .parent_data = disp_cc_parent_data_2, > .num_parents = ARRAY_SIZE(disp_cc_parent_data_2), > @@ -645,7 +645,7 @@ static struct clk_rcg2 disp_cc_mdss_vsync_clk_src = { > .hid_width = 5, > .parent_map = disp_cc_parent_map_0, > .freq_tbl = ftbl_disp_cc_mdss_byte0_clk_src, > - .clkr.hw.init = &(struct clk_init_data) { > + .clkr.hw.init = &(const struct clk_init_data) { > .name = "disp_cc_mdss_vsync_clk_src", > .parent_data = disp_cc_parent_data_0, > .num_parents = ARRAY_SIZE(disp_cc_parent_data_0), > @@ -665,7 +665,7 @@ static struct clk_rcg2 disp_cc_sleep_clk_src = { > .hid_width = 5, > .parent_map = disp_cc_parent_map_9, > .freq_tbl = ftbl_disp_cc_sleep_clk_src, > - .clkr.hw.init = &(struct clk_init_data) { > + .clkr.hw.init = &(const struct clk_init_data) { > .name = "disp_cc_sleep_clk_src", > .parent_data = disp_cc_parent_data_9, > .num_parents = ARRAY_SIZE(disp_cc_parent_data_9), > @@ -680,7 +680,7 @@ static struct clk_rcg2 disp_cc_xo_clk_src = { > .hid_width = 5, > .parent_map = disp_cc_parent_map_0, > .freq_tbl = ftbl_disp_cc_mdss_byte0_clk_src, > - .clkr.hw.init = &(struct clk_init_data) { > + .clkr.hw.init = &(const struct clk_init_data) { > .name = "disp_cc_xo_clk_src", > .parent_data = disp_cc_parent_data_0_ao, > .num_parents = ARRAY_SIZE(disp_cc_parent_data_0_ao), > @@ -693,7 +693,7 @@ static struct clk_regmap_div disp_cc_mdss_byte0_div_clk_src = { > .reg = 0x8120, > .shift = 0, > .width = 4, > - .clkr.hw.init = &(struct clk_init_data) { > + .clkr.hw.init = &(const struct clk_init_data) { > .name = "disp_cc_mdss_byte0_div_clk_src", > .parent_hws = (const struct clk_hw*[]) { > &disp_cc_mdss_byte0_clk_src.clkr.hw, > @@ -707,7 +707,7 @@ static struct clk_regmap_div disp_cc_mdss_byte1_div_clk_src = { > .reg = 0x813c, > .shift = 0, > .width = 4, > - .clkr.hw.init = &(struct clk_init_data) { > + .clkr.hw.init = &(const struct clk_init_data) { > .name = "disp_cc_mdss_byte1_div_clk_src", > .parent_hws = (const struct clk_hw*[]) { > &disp_cc_mdss_byte1_clk_src.clkr.hw, > @@ -721,7 +721,7 @@ static struct clk_regmap_div disp_cc_mdss_dptx0_link_div_clk_src = { > .reg = 0x8188, > .shift = 0, > .width = 4, > - .clkr.hw.init = &(struct clk_init_data) { > + .clkr.hw.init = &(const struct clk_init_data) { > .name = "disp_cc_mdss_dptx0_link_div_clk_src", > .parent_hws = (const struct clk_hw*[]) { > &disp_cc_mdss_dptx0_link_clk_src.clkr.hw, > @@ -736,7 +736,7 @@ static struct clk_regmap_div disp_cc_mdss_dptx1_link_div_clk_src = { > .reg = 0x821c, > .shift = 0, > .width = 4, > - .clkr.hw.init = &(struct clk_init_data) { > + .clkr.hw.init = &(const struct clk_init_data) { > .name = "disp_cc_mdss_dptx1_link_div_clk_src", > .parent_hws = (const struct clk_hw*[]) { > &disp_cc_mdss_dptx1_link_clk_src.clkr.hw, > @@ -751,7 +751,7 @@ static struct clk_regmap_div disp_cc_mdss_dptx2_link_div_clk_src = { > .reg = 0x8250, > .shift = 0, > .width = 4, > - .clkr.hw.init = &(struct clk_init_data) { > + .clkr.hw.init = &(const struct clk_init_data) { > .name = "disp_cc_mdss_dptx2_link_div_clk_src", > .parent_hws = (const struct clk_hw*[]) { > &disp_cc_mdss_dptx2_link_clk_src.clkr.hw, > @@ -766,7 +766,7 @@ static struct clk_regmap_div disp_cc_mdss_dptx3_link_div_clk_src = { > .reg = 0x82cc, > .shift = 0, > .width = 4, > - .clkr.hw.init = &(struct clk_init_data) { > + .clkr.hw.init = &(const struct clk_init_data) { > .name = "disp_cc_mdss_dptx3_link_div_clk_src", > .parent_hws = (const struct clk_hw*[]) { > &disp_cc_mdss_dptx3_link_clk_src.clkr.hw, > @@ -783,7 +783,7 @@ static struct clk_branch disp_cc_mdss_accu_clk = { > .clkr = { > .enable_reg = 0xe058, > .enable_mask = BIT(0), > - .hw.init = &(struct clk_init_data){ > + .hw.init = &(const struct clk_init_data) { > .name = "disp_cc_mdss_accu_clk", > .parent_hws = (const struct clk_hw*[]) { > &disp_cc_xo_clk_src.clkr.hw, > @@ -801,7 +801,7 @@ static struct clk_branch disp_cc_mdss_ahb1_clk = { > .clkr = { > .enable_reg = 0xa020, > .enable_mask = BIT(0), > - .hw.init = &(struct clk_init_data) { > + .hw.init = &(const struct clk_init_data) { > .name = "disp_cc_mdss_ahb1_clk", > .parent_hws = (const struct clk_hw*[]) { > &disp_cc_mdss_ahb_clk_src.clkr.hw, > @@ -819,7 +819,7 @@ static struct clk_branch disp_cc_mdss_ahb_clk = { > .clkr = { > .enable_reg = 0x80a4, > .enable_mask = BIT(0), > - .hw.init = &(struct clk_init_data) { > + .hw.init = &(const struct clk_init_data) { > .name = "disp_cc_mdss_ahb_clk", > .parent_hws = (const struct clk_hw*[]) { > &disp_cc_mdss_ahb_clk_src.clkr.hw, > @@ -837,7 +837,7 @@ static struct clk_branch disp_cc_mdss_byte0_clk = { > .clkr = { > .enable_reg = 0x8028, > .enable_mask = BIT(0), > - .hw.init = &(struct clk_init_data) { > + .hw.init = &(const struct clk_init_data) { > .name = "disp_cc_mdss_byte0_clk", > .parent_hws = (const struct clk_hw*[]) { > &disp_cc_mdss_byte0_clk_src.clkr.hw, > @@ -855,7 +855,7 @@ static struct clk_branch disp_cc_mdss_byte0_intf_clk = { > .clkr = { > .enable_reg = 0x802c, > .enable_mask = BIT(0), > - .hw.init = &(struct clk_init_data) { > + .hw.init = &(const struct clk_init_data) { > .name = "disp_cc_mdss_byte0_intf_clk", > .parent_hws = (const struct clk_hw*[]) { > &disp_cc_mdss_byte0_div_clk_src.clkr.hw, > @@ -873,7 +873,7 @@ static struct clk_branch disp_cc_mdss_byte1_clk = { > .clkr = { > .enable_reg = 0x8030, > .enable_mask = BIT(0), > - .hw.init = &(struct clk_init_data) { > + .hw.init = &(const struct clk_init_data) { > .name = "disp_cc_mdss_byte1_clk", > .parent_hws = (const struct clk_hw*[]) { > &disp_cc_mdss_byte1_clk_src.clkr.hw, > @@ -891,7 +891,7 @@ static struct clk_branch disp_cc_mdss_byte1_intf_clk = { > .clkr = { > .enable_reg = 0x8034, > .enable_mask = BIT(0), > - .hw.init = &(struct clk_init_data) { > + .hw.init = &(const struct clk_init_data) { > .name = "disp_cc_mdss_byte1_intf_clk", > .parent_hws = (const struct clk_hw*[]) { > &disp_cc_mdss_byte1_div_clk_src.clkr.hw, > @@ -909,7 +909,7 @@ static struct clk_branch disp_cc_mdss_dptx0_aux_clk = { > .clkr = { > .enable_reg = 0x8058, > .enable_mask = BIT(0), > - .hw.init = &(struct clk_init_data) { > + .hw.init = &(const struct clk_init_data) { > .name = "disp_cc_mdss_dptx0_aux_clk", > .parent_hws = (const struct clk_hw*[]) { > &disp_cc_mdss_dptx0_aux_clk_src.clkr.hw, > @@ -927,7 +927,7 @@ static struct clk_branch disp_cc_mdss_dptx0_crypto_clk = { > .clkr = { > .enable_reg = 0x804c, > .enable_mask = BIT(0), > - .hw.init = &(struct clk_init_data) { > + .hw.init = &(const struct clk_init_data) { > .name = "disp_cc_mdss_dptx0_crypto_clk", > .parent_hws = (const struct clk_hw*[]) { > &disp_cc_mdss_dptx0_link_clk_src.clkr.hw, > @@ -945,7 +945,7 @@ static struct clk_branch disp_cc_mdss_dptx0_link_clk = { > .clkr = { > .enable_reg = 0x8040, > .enable_mask = BIT(0), > - .hw.init = &(struct clk_init_data) { > + .hw.init = &(const struct clk_init_data) { > .name = "disp_cc_mdss_dptx0_link_clk", > .parent_hws = (const struct clk_hw*[]) { > &disp_cc_mdss_dptx0_link_clk_src.clkr.hw, > @@ -963,7 +963,7 @@ static struct clk_branch disp_cc_mdss_dptx0_link_intf_clk = { > .clkr = { > .enable_reg = 0x8048, > .enable_mask = BIT(0), > - .hw.init = &(struct clk_init_data) { > + .hw.init = &(const struct clk_init_data) { > .name = "disp_cc_mdss_dptx0_link_intf_clk", > .parent_hws = (const struct clk_hw*[]) { > &disp_cc_mdss_dptx0_link_div_clk_src.clkr.hw, > @@ -981,7 +981,7 @@ static struct clk_branch disp_cc_mdss_dptx0_pixel0_clk = { > .clkr = { > .enable_reg = 0x8050, > .enable_mask = BIT(0), > - .hw.init = &(struct clk_init_data) { > + .hw.init = &(const struct clk_init_data) { > .name = "disp_cc_mdss_dptx0_pixel0_clk", > .parent_hws = (const struct clk_hw*[]) { > &disp_cc_mdss_dptx0_pixel0_clk_src.clkr.hw, > @@ -999,7 +999,7 @@ static struct clk_branch disp_cc_mdss_dptx0_pixel1_clk = { > .clkr = { > .enable_reg = 0x8054, > .enable_mask = BIT(0), > - .hw.init = &(struct clk_init_data) { > + .hw.init = &(const struct clk_init_data) { > .name = "disp_cc_mdss_dptx0_pixel1_clk", > .parent_hws = (const struct clk_hw*[]) { > &disp_cc_mdss_dptx0_pixel1_clk_src.clkr.hw, > @@ -1017,7 +1017,7 @@ static struct clk_branch disp_cc_mdss_dptx0_usb_router_link_intf_clk = { > .clkr = { > .enable_reg = 0x8044, > .enable_mask = BIT(0), > - .hw.init = &(struct clk_init_data) { > + .hw.init = &(const struct clk_init_data) { > .name = "disp_cc_mdss_dptx0_usb_router_link_intf_clk", > .parent_hws = (const struct clk_hw*[]) { > &disp_cc_mdss_dptx0_link_div_clk_src.clkr.hw, > @@ -1035,7 +1035,7 @@ static struct clk_branch disp_cc_mdss_dptx1_aux_clk = { > .clkr = { > .enable_reg = 0x8074, > .enable_mask = BIT(0), > - .hw.init = &(struct clk_init_data) { > + .hw.init = &(const struct clk_init_data) { > .name = "disp_cc_mdss_dptx1_aux_clk", > .parent_hws = (const struct clk_hw*[]) { > &disp_cc_mdss_dptx1_aux_clk_src.clkr.hw, > @@ -1053,7 +1053,7 @@ static struct clk_branch disp_cc_mdss_dptx1_crypto_clk = { > .clkr = { > .enable_reg = 0x8070, > .enable_mask = BIT(0), > - .hw.init = &(struct clk_init_data) { > + .hw.init = &(const struct clk_init_data) { > .name = "disp_cc_mdss_dptx1_crypto_clk", > .parent_hws = (const struct clk_hw*[]) { > &disp_cc_mdss_dptx1_link_clk_src.clkr.hw, > @@ -1071,7 +1071,7 @@ static struct clk_branch disp_cc_mdss_dptx1_link_clk = { > .clkr = { > .enable_reg = 0x8064, > .enable_mask = BIT(0), > - .hw.init = &(struct clk_init_data) { > + .hw.init = &(const struct clk_init_data) { > .name = "disp_cc_mdss_dptx1_link_clk", > .parent_hws = (const struct clk_hw*[]) { > &disp_cc_mdss_dptx1_link_clk_src.clkr.hw, > @@ -1089,7 +1089,7 @@ static struct clk_branch disp_cc_mdss_dptx1_link_intf_clk = { > .clkr = { > .enable_reg = 0x806c, > .enable_mask = BIT(0), > - .hw.init = &(struct clk_init_data) { > + .hw.init = &(const struct clk_init_data) { > .name = "disp_cc_mdss_dptx1_link_intf_clk", > .parent_hws = (const struct clk_hw*[]) { > &disp_cc_mdss_dptx1_link_div_clk_src.clkr.hw, > @@ -1107,7 +1107,7 @@ static struct clk_branch disp_cc_mdss_dptx1_pixel0_clk = { > .clkr = { > .enable_reg = 0x805c, > .enable_mask = BIT(0), > - .hw.init = &(struct clk_init_data) { > + .hw.init = &(const struct clk_init_data) { > .name = "disp_cc_mdss_dptx1_pixel0_clk", > .parent_hws = (const struct clk_hw*[]) { > &disp_cc_mdss_dptx1_pixel0_clk_src.clkr.hw, > @@ -1125,7 +1125,7 @@ static struct clk_branch disp_cc_mdss_dptx1_pixel1_clk = { > .clkr = { > .enable_reg = 0x8060, > .enable_mask = BIT(0), > - .hw.init = &(struct clk_init_data) { > + .hw.init = &(const struct clk_init_data) { > .name = "disp_cc_mdss_dptx1_pixel1_clk", > .parent_hws = (const struct clk_hw*[]) { > &disp_cc_mdss_dptx1_pixel1_clk_src.clkr.hw, > @@ -1143,7 +1143,7 @@ static struct clk_branch disp_cc_mdss_dptx1_usb_router_link_intf_clk = { > .clkr = { > .enable_reg = 0x8068, > .enable_mask = BIT(0), > - .hw.init = &(struct clk_init_data) { > + .hw.init = &(const struct clk_init_data) { > .name = "disp_cc_mdss_dptx1_usb_router_link_intf_clk", > .parent_hws = (const struct clk_hw*[]) { > &disp_cc_mdss_dptx1_link_div_clk_src.clkr.hw, > @@ -1161,7 +1161,7 @@ static struct clk_branch disp_cc_mdss_dptx2_aux_clk = { > .clkr = { > .enable_reg = 0x808c, > .enable_mask = BIT(0), > - .hw.init = &(struct clk_init_data) { > + .hw.init = &(const struct clk_init_data) { > .name = "disp_cc_mdss_dptx2_aux_clk", > .parent_hws = (const struct clk_hw*[]) { > &disp_cc_mdss_dptx2_aux_clk_src.clkr.hw, > @@ -1179,7 +1179,7 @@ static struct clk_branch disp_cc_mdss_dptx2_crypto_clk = { > .clkr = { > .enable_reg = 0x8088, > .enable_mask = BIT(0), > - .hw.init = &(struct clk_init_data) { > + .hw.init = &(const struct clk_init_data) { > .name = "disp_cc_mdss_dptx2_crypto_clk", > .parent_hws = (const struct clk_hw*[]) { > &disp_cc_mdss_dptx2_link_clk_src.clkr.hw, > @@ -1197,7 +1197,7 @@ static struct clk_branch disp_cc_mdss_dptx2_link_clk = { > .clkr = { > .enable_reg = 0x8080, > .enable_mask = BIT(0), > - .hw.init = &(struct clk_init_data) { > + .hw.init = &(const struct clk_init_data) { > .name = "disp_cc_mdss_dptx2_link_clk", > .parent_hws = (const struct clk_hw*[]) { > &disp_cc_mdss_dptx2_link_clk_src.clkr.hw, > @@ -1215,7 +1215,7 @@ static struct clk_branch disp_cc_mdss_dptx2_link_intf_clk = { > .clkr = { > .enable_reg = 0x8084, > .enable_mask = BIT(0), > - .hw.init = &(struct clk_init_data) { > + .hw.init = &(const struct clk_init_data) { > .name = "disp_cc_mdss_dptx2_link_intf_clk", > .parent_hws = (const struct clk_hw*[]) { > &disp_cc_mdss_dptx2_link_div_clk_src.clkr.hw, > @@ -1233,7 +1233,7 @@ static struct clk_branch disp_cc_mdss_dptx2_pixel0_clk = { > .clkr = { > .enable_reg = 0x8078, > .enable_mask = BIT(0), > - .hw.init = &(struct clk_init_data) { > + .hw.init = &(const struct clk_init_data) { > .name = "disp_cc_mdss_dptx2_pixel0_clk", > .parent_hws = (const struct clk_hw*[]) { > &disp_cc_mdss_dptx2_pixel0_clk_src.clkr.hw, > @@ -1251,7 +1251,7 @@ static struct clk_branch disp_cc_mdss_dptx2_pixel1_clk = { > .clkr = { > .enable_reg = 0x807c, > .enable_mask = BIT(0), > - .hw.init = &(struct clk_init_data) { > + .hw.init = &(const struct clk_init_data) { > .name = "disp_cc_mdss_dptx2_pixel1_clk", > .parent_hws = (const struct clk_hw*[]) { > &disp_cc_mdss_dptx2_pixel1_clk_src.clkr.hw, > @@ -1269,7 +1269,7 @@ static struct clk_branch disp_cc_mdss_dptx3_aux_clk = { > .clkr = { > .enable_reg = 0x809c, > .enable_mask = BIT(0), > - .hw.init = &(struct clk_init_data) { > + .hw.init = &(const struct clk_init_data) { > .name = "disp_cc_mdss_dptx3_aux_clk", > .parent_hws = (const struct clk_hw*[]) { > &disp_cc_mdss_dptx3_aux_clk_src.clkr.hw, > @@ -1287,7 +1287,7 @@ static struct clk_branch disp_cc_mdss_dptx3_crypto_clk = { > .clkr = { > .enable_reg = 0x80a0, > .enable_mask = BIT(0), > - .hw.init = &(struct clk_init_data) { > + .hw.init = &(const struct clk_init_data) { > .name = "disp_cc_mdss_dptx3_crypto_clk", > .parent_hws = (const struct clk_hw*[]) { > &disp_cc_mdss_dptx3_link_clk_src.clkr.hw, > @@ -1305,7 +1305,7 @@ static struct clk_branch disp_cc_mdss_dptx3_link_clk = { > .clkr = { > .enable_reg = 0x8094, > .enable_mask = BIT(0), > - .hw.init = &(struct clk_init_data) { > + .hw.init = &(const struct clk_init_data) { > .name = "disp_cc_mdss_dptx3_link_clk", > .parent_hws = (const struct clk_hw*[]) { > &disp_cc_mdss_dptx3_link_clk_src.clkr.hw, > @@ -1323,7 +1323,7 @@ static struct clk_branch disp_cc_mdss_dptx3_link_intf_clk = { > .clkr = { > .enable_reg = 0x8098, > .enable_mask = BIT(0), > - .hw.init = &(struct clk_init_data) { > + .hw.init = &(const struct clk_init_data) { > .name = "disp_cc_mdss_dptx3_link_intf_clk", > .parent_hws = (const struct clk_hw*[]) { > &disp_cc_mdss_dptx3_link_div_clk_src.clkr.hw, > @@ -1341,7 +1341,7 @@ static struct clk_branch disp_cc_mdss_dptx3_pixel0_clk = { > .clkr = { > .enable_reg = 0x8090, > .enable_mask = BIT(0), > - .hw.init = &(struct clk_init_data) { > + .hw.init = &(const struct clk_init_data) { > .name = "disp_cc_mdss_dptx3_pixel0_clk", > .parent_hws = (const struct clk_hw*[]) { > &disp_cc_mdss_dptx3_pixel0_clk_src.clkr.hw, > @@ -1359,7 +1359,7 @@ static struct clk_branch disp_cc_mdss_esc0_clk = { > .clkr = { > .enable_reg = 0x8038, > .enable_mask = BIT(0), > - .hw.init = &(struct clk_init_data) { > + .hw.init = &(const struct clk_init_data) { > .name = "disp_cc_mdss_esc0_clk", > .parent_hws = (const struct clk_hw*[]) { > &disp_cc_mdss_esc0_clk_src.clkr.hw, > @@ -1377,7 +1377,7 @@ static struct clk_branch disp_cc_mdss_esc1_clk = { > .clkr = { > .enable_reg = 0x803c, > .enable_mask = BIT(0), > - .hw.init = &(struct clk_init_data) { > + .hw.init = &(const struct clk_init_data) { > .name = "disp_cc_mdss_esc1_clk", > .parent_hws = (const struct clk_hw*[]) { > &disp_cc_mdss_esc1_clk_src.clkr.hw, > @@ -1395,7 +1395,7 @@ static struct clk_branch disp_cc_mdss_mdp1_clk = { > .clkr = { > .enable_reg = 0xa004, > .enable_mask = BIT(0), > - .hw.init = &(struct clk_init_data) { > + .hw.init = &(const struct clk_init_data) { > .name = "disp_cc_mdss_mdp1_clk", > .parent_hws = (const struct clk_hw*[]) { > &disp_cc_mdss_mdp_clk_src.clkr.hw, > @@ -1413,7 +1413,7 @@ static struct clk_branch disp_cc_mdss_mdp_clk = { > .clkr = { > .enable_reg = 0x800c, > .enable_mask = BIT(0), > - .hw.init = &(struct clk_init_data) { > + .hw.init = &(const struct clk_init_data) { > .name = "disp_cc_mdss_mdp_clk", > .parent_hws = (const struct clk_hw*[]) { > &disp_cc_mdss_mdp_clk_src.clkr.hw, > @@ -1431,7 +1431,7 @@ static struct clk_branch disp_cc_mdss_mdp_lut1_clk = { > .clkr = { > .enable_reg = 0xa010, > .enable_mask = BIT(0), > - .hw.init = &(struct clk_init_data) { > + .hw.init = &(const struct clk_init_data) { > .name = "disp_cc_mdss_mdp_lut1_clk", > .parent_hws = (const struct clk_hw*[]) { > &disp_cc_mdss_mdp_clk_src.clkr.hw, > @@ -1449,7 +1449,7 @@ static struct clk_branch disp_cc_mdss_mdp_lut_clk = { > .clkr = { > .enable_reg = 0x8018, > .enable_mask = BIT(0), > - .hw.init = &(struct clk_init_data) { > + .hw.init = &(const struct clk_init_data) { > .name = "disp_cc_mdss_mdp_lut_clk", > .parent_hws = (const struct clk_hw*[]) { > &disp_cc_mdss_mdp_clk_src.clkr.hw, > @@ -1467,7 +1467,7 @@ static struct clk_branch disp_cc_mdss_non_gdsc_ahb_clk = { > .clkr = { > .enable_reg = 0xc004, > .enable_mask = BIT(0), > - .hw.init = &(struct clk_init_data) { > + .hw.init = &(const struct clk_init_data) { > .name = "disp_cc_mdss_non_gdsc_ahb_clk", > .parent_hws = (const struct clk_hw*[]) { > &disp_cc_mdss_ahb_clk_src.clkr.hw, > @@ -1485,7 +1485,7 @@ static struct clk_branch disp_cc_mdss_pclk0_clk = { > .clkr = { > .enable_reg = 0x8004, > .enable_mask = BIT(0), > - .hw.init = &(struct clk_init_data) { > + .hw.init = &(const struct clk_init_data) { > .name = "disp_cc_mdss_pclk0_clk", > .parent_hws = (const struct clk_hw*[]) { > &disp_cc_mdss_pclk0_clk_src.clkr.hw, > @@ -1503,7 +1503,7 @@ static struct clk_branch disp_cc_mdss_pclk1_clk = { > .clkr = { > .enable_reg = 0x8008, > .enable_mask = BIT(0), > - .hw.init = &(struct clk_init_data) { > + .hw.init = &(const struct clk_init_data) { > .name = "disp_cc_mdss_pclk1_clk", > .parent_hws = (const struct clk_hw*[]) { > &disp_cc_mdss_pclk1_clk_src.clkr.hw, > @@ -1521,7 +1521,7 @@ static struct clk_branch disp_cc_mdss_rscc_ahb_clk = { > .clkr = { > .enable_reg = 0xc00c, > .enable_mask = BIT(0), > - .hw.init = &(struct clk_init_data) { > + .hw.init = &(const struct clk_init_data) { > .name = "disp_cc_mdss_rscc_ahb_clk", > .parent_hws = (const struct clk_hw*[]) { > &disp_cc_mdss_ahb_clk_src.clkr.hw, > @@ -1539,7 +1539,7 @@ static struct clk_branch disp_cc_mdss_rscc_vsync_clk = { > .clkr = { > .enable_reg = 0xc008, > .enable_mask = BIT(0), > - .hw.init = &(struct clk_init_data) { > + .hw.init = &(const struct clk_init_data) { > .name = "disp_cc_mdss_rscc_vsync_clk", > .parent_hws = (const struct clk_hw*[]) { > &disp_cc_mdss_vsync_clk_src.clkr.hw, > @@ -1557,7 +1557,7 @@ static struct clk_branch disp_cc_mdss_vsync1_clk = { > .clkr = { > .enable_reg = 0xa01c, > .enable_mask = BIT(0), > - .hw.init = &(struct clk_init_data) { > + .hw.init = &(const struct clk_init_data) { > .name = "disp_cc_mdss_vsync1_clk", > .parent_hws = (const struct clk_hw*[]) { > &disp_cc_mdss_vsync_clk_src.clkr.hw, > @@ -1575,7 +1575,7 @@ static struct clk_branch disp_cc_mdss_vsync_clk = { > .clkr = { > .enable_reg = 0x8024, > .enable_mask = BIT(0), > - .hw.init = &(struct clk_init_data) { > + .hw.init = &(const struct clk_init_data) { > .name = "disp_cc_mdss_vsync_clk", > .parent_hws = (const struct clk_hw*[]) { > &disp_cc_mdss_vsync_clk_src.clkr.hw, > @@ -1593,7 +1593,7 @@ static struct clk_branch disp_cc_sleep_clk = { > .clkr = { > .enable_reg = 0xe074, > .enable_mask = BIT(0), > - .hw.init = &(struct clk_init_data) { > + .hw.init = &(const struct clk_init_data) { > .name = "disp_cc_sleep_clk", > .parent_hws = (const struct clk_hw*[]) { > &disp_cc_sleep_clk_src.clkr.hw, > Reviewed-by: Neil Armstrong