[PATCH] clk: qcom: sm8750: Constify 'qcom_cc_desc' in SM8750 camcc
Dmitry Baryshkov
dmitry.baryshkov at oss.qualcomm.com
Wed Jan 28 08:06:57 PST 2026
On Wed, Jan 28, 2026 at 04:43:07PM +0100, Krzysztof Kozlowski wrote:
> 'struct qcom_cc_desc' is passed to qcom_cc_map() and
> qcom_cc_really_probe() only as pointer to const, so make the memory
> const for safety.
>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski at oss.qualcomm.com>
> ---
> drivers/clk/qcom/cambistmclkcc-sm8750.c | 2 +-
> drivers/clk/qcom/camcc-sm8750.c | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov at oss.qualcomm.com>
--
With best wishes
Dmitry
More information about the linux-arm-kernel
mailing list