Re: [PATCH v2] clk: qcom: Constify qcom_cc_driver_data and list of critical CBCR registers
From: Taniya Das
Date: Wed Apr 29 2026 - 13:19:15 EST
On 4/29/2026 10:39 PM, Krzysztof Kozlowski wrote:
> The static 'struct qcom_cc_driver_data' and array 'xxx_critical_cbcrs'
> are already treated by common.c code as pointers to const, so constify
> few remaining pieces.
>
> Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@xxxxxxxxxxxxxxxx>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxxxxxxxx>
>
> ---
>
> Changes in v2:
> 1. Constify also nw_gcc_nord_critical_cbcrs (Sashiko)
> 2. Add rb tag
> ---
> drivers/clk/qcom/gcc-nord.c | 2 +-
> drivers/clk/qcom/gpucc-sm8750.c | 4 ++--
> drivers/clk/qcom/negcc-nord.c | 2 +-
> drivers/clk/qcom/nwgcc-nord.c | 4 ++--
> drivers/clk/qcom/segcc-nord.c | 2 +-
> 5 files changed, 7 insertions(+), 7 deletions(-)
Reviewed-by: Taniya Das <taniya.das@xxxxxxxxxxxxxxxx>
--
Thanks,
Taniya Das