mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-03-22 07:27:12 +08:00
clk: qcom: videocc-sm8750: 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: Imran Shaik <imran.shaik@oss.qualcomm.com> Link: https://lore.kernel.org/r/20251208020621.4514-2-krzysztof.kozlowski@oss.qualcomm.com Signed-off-by: Bjorn Andersson <andersson@kernel.org>
This commit is contained in:
committed by
Bjorn Andersson
parent
bf94404bc7
commit
77d0ea71b3
@@ -416,7 +416,7 @@ static struct qcom_cc_driver_data video_cc_sm8750_driver_data = {
|
||||
.clk_regs_configure = clk_sm8750_regs_configure,
|
||||
};
|
||||
|
||||
static struct qcom_cc_desc video_cc_sm8750_desc = {
|
||||
static const struct qcom_cc_desc video_cc_sm8750_desc = {
|
||||
.config = &video_cc_sm8750_regmap_config,
|
||||
.clks = video_cc_sm8750_clocks,
|
||||
.num_clks = ARRAY_SIZE(video_cc_sm8750_clocks),
|
||||
|
||||
Reference in New Issue
Block a user