mirror of
https://github.com/torvalds/linux.git
synced 2026-06-03 03:53:37 +02:00
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:
parent
5af11acae6
commit
03aa6ed706
|
|
@ -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),
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user