]> www.infradead.org Git - users/jedix/linux-maple.git/commit
clk: meson: a1: peripherals: Constify struct regmap_config
authorJavier Carrasco <javier.carrasco.cruz@gmail.com>
Wed, 3 Jul 2024 09:50:14 +0000 (11:50 +0200)
committerJerome Brunet <jbrunet@baylibre.com>
Wed, 10 Jul 2024 12:25:49 +0000 (14:25 +0200)
commit4a7665b885b6e972cf653e4a49d16a408a9cbd8b
treed0973fb0eabf0170edbc3c2333518f94af921345
parentbefe87380e21f0d37633273e1068c9318f8135ff
clk: meson: a1: peripherals: Constify struct regmap_config

`a1_periphs_regmap_cfg` is not modified and can be declared as const to
move its data to a read-only section.

Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://lore.kernel.org/r/20240703-clk-const-regmap-v1-1-7d15a0671d6f@gmail.com
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
drivers/clk/meson/a1-peripherals.c