]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
clk: qcom: dispcc-glymur: Constify 'struct qcom_cc_desc'
authorImran Shaik <imran.shaik@oss.qualcomm.com>
Tue, 9 Sep 2025 09:47:59 +0000 (15:17 +0530)
committerBjorn Andersson <andersson@kernel.org>
Tue, 9 Sep 2025 14:38:17 +0000 (09:38 -0500)
commit9ff39b0468c3e04fee05d4e005d2fc03d28b1538
tree64fba47ae30ae4077d2f78c245946233c76fe270
parent6be1f55f33f615c3cafee96bc514a74a9fa43885
clk: qcom: dispcc-glymur: Constify 'struct qcom_cc_desc'

'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.

Suggested-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Imran Shaik <imran.shaik@oss.qualcomm.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20250909-constify-dispcc-glymur-desc-fix-v1-1-6cb59730863f@oss.qualcomm.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
drivers/clk/qcom/dispcc-glymur.c