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 <krzysztof.kozlowski@linaro.org> Link: https://lore.kernel.org/r/20250528194453.567324-2-krzysztof.kozlowski@linaro.org Signed-off-by: Stephen Boyd <sboyd@kernel.org>
This commit is contained in:
committed by
Stephen Boyd
parent
742014ae01
commit
fd127374fc
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user