qualcommax: constify CPR match data

CPR driver was converted to use of_device_get_match_data and it locally
constified the CPR match data structures but they are also stored per
regulator in their struct, these were not constified and would cause a
compile time error.

So, constify those as well.

Fixes: c1fa85f65931 ("treewide: use of_device_get_match_data")
Signed-off-by: Robert Marko <robimarko@gmail.com>
This commit is contained in:
Robert Marko 2026-04-13 12:19:59 +02:00
parent a3988cd65c
commit 67d3f99f23

View File

@ -6271,8 +6271,8 @@ Signed-off-by: Robert Marko <robimarko@gmail.com>
+ struct cpr3_corner *corner;
+ int corner_count;
+ struct cprh_corner_band *corner_band;
+ struct cpr4_reg_data *cpr4_regulator_data;
+ struct cpr3_reg_data *cpr3_regulator_data;
+ const struct cpr4_reg_data *cpr4_regulator_data;
+ const struct cpr3_reg_data *cpr3_regulator_data;
+ u32 corner_band_count;
+
+ void *platform_fuses;