Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Krzysztof Kozlowski and committed by
Bjorn Andersson
03aa6ed7 5af11aca

+1 -1
+1 -1
drivers/clk/qcom/videocc-glymur.c
··· 495 495 .clk_regs_configure = clk_glymur_regs_configure, 496 496 }; 497 497 498 - static struct qcom_cc_desc video_cc_glymur_desc = { 498 + static const struct qcom_cc_desc video_cc_glymur_desc = { 499 499 .config = &video_cc_glymur_regmap_config, 500 500 .clks = video_cc_glymur_clocks, 501 501 .num_clks = ARRAY_SIZE(video_cc_glymur_clocks),