]> www.infradead.org Git - users/jedix/linux-maple.git/commit
soc: sunxi: sram: Constify struct regmap_config
authorJavier Carrasco <javier.carrasco.cruz@gmail.com>
Fri, 5 Jul 2024 10:52:27 +0000 (12:52 +0200)
committerChen-Yu Tsai <wens@csie.org>
Wed, 10 Jul 2024 16:47:13 +0000 (00:47 +0800)
commit9bc1e34a7b0c91d790eab2db4eea05175d248c68
tree54cdea996eadf6fddaea7c73b78ee88eef609b22
parent3a6fb9025cdf975146b2f2e3771b67f03c4ca3dc
soc: sunxi: sram: Constify struct regmap_config

`sunxi_sram_regmap_config` 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: Andre Przywara <andre.przywara@arm.com>
Link: https://lore.kernel.org/r/20240705-sunxi-sram-const-regmap_config-v1-1-1b997cd65d0f@gmail.com
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
drivers/soc/sunxi/sunxi_sram.c