clk: qcom: videocc-glymur: Constify qcom_cc_desc

Static 'struct qcom_cc_desc' is not modified by drivers and can be made
const for code safety.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Reviewed-by: Taniya Das <taniya.das@oss.qualcomm.com>
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20260331085521.37337-2-krzysztof.kozlowski@oss.qualcomm.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
This commit is contained in:
Krzysztof Kozlowski 2026-03-31 10:55:22 +02:00 committed by Bjorn Andersson
parent 5af11acae6
commit 03aa6ed706

View File

@ -495,7 +495,7 @@ static struct qcom_cc_driver_data video_cc_glymur_driver_data = {
.clk_regs_configure = clk_glymur_regs_configure,
};
static struct qcom_cc_desc video_cc_glymur_desc = {
static const struct qcom_cc_desc video_cc_glymur_desc = {
.config = &video_cc_glymur_regmap_config,
.clks = video_cc_glymur_clocks,
.num_clks = ARRAY_SIZE(video_cc_glymur_clocks),