From: Krzysztof Kozlowski Date: Wed, 28 May 2025 19:44:54 +0000 (+0200) Subject: clk: versaclock7: Constify regmap_range_cfg array X-Git-Tag: io_uring-6.17-20250815~88^2~4^3~20 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=fd127374fcbbd5e5889e604a3c7f6220688ce6b7;p=linux-block.git clk: versaclock7: Constify regmap_range_cfg array Static 'struct regmap_range_cfg' array is not modified so can be changed to const for more safety. Signed-off-by: Krzysztof Kozlowski Link: https://lore.kernel.org/r/20250528194453.567324-2-krzysztof.kozlowski@linaro.org Signed-off-by: Stephen Boyd --- diff --git a/drivers/clk/clk-versaclock7.c b/drivers/clk/clk-versaclock7.c index f323263e32c3..483285b30c13 100644 --- a/drivers/clk/clk-versaclock7.c +++ b/drivers/clk/clk-versaclock7.c @@ -1257,7 +1257,7 @@ static const struct vc7_chip_info vc7_rc21008a_info = { .num_outputs = 8, }; -static struct regmap_range_cfg vc7_range_cfg[] = { +static const struct regmap_range_cfg vc7_range_cfg[] = { { .range_min = 0, .range_max = VC7_MAX_REG,