clk: qcom: videocc-x1p42100: Constify qcom_cc_driver_data and list of critical CBCR registers

The static 'struct qcom_cc_driver_data' and array 'xxx_critical_cbcrs'
are already treated by common.c code as pointers to const, so constify
few remaining pieces.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Reviewed-by: Taniya Das <taniya.das@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20260705171811.115542-4-krzysztof.kozlowski@oss.qualcomm.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
This commit is contained in:
Krzysztof Kozlowski 2026-07-05 19:18:13 +02:00 committed by Bjorn Andersson
parent 3fb968b400
commit e5b2050ff7

View File

@ -527,7 +527,7 @@ static struct clk_alpha_pll *video_cc_x1p42100_plls[] = {
&video_cc_pll1,
};
static u32 video_cc_x1p42100_critical_cbcrs[] = {
static const u32 video_cc_x1p42100_critical_cbcrs[] = {
0x80f4, /* VIDEO_CC_AHB_CLK */
0x8150, /* VIDEO_CC_SLEEP_CLK */
0x8124, /* VIDEO_CC_XO_CLK */
@ -541,7 +541,7 @@ static const struct regmap_config video_cc_x1p42100_regmap_config = {
.fast_io = true,
};
static struct qcom_cc_driver_data video_cc_x1p42100_driver_data = {
static const struct qcom_cc_driver_data video_cc_x1p42100_driver_data = {
.alpha_plls = video_cc_x1p42100_plls,
.num_alpha_plls = ARRAY_SIZE(video_cc_x1p42100_plls),
.clk_cbcrs = video_cc_x1p42100_critical_cbcrs,