]> www.infradead.org Git - users/jedix/linux-maple.git/commit
i2c: designware: Constify read-only struct regmap_config
authorJavier Carrasco <javier.carrasco.cruz@gmail.com>
Fri, 5 Jul 2024 18:06:25 +0000 (20:06 +0200)
committerAndi Shyti <andi.shyti@kernel.org>
Mon, 8 Jul 2024 22:56:44 +0000 (00:56 +0200)
commit21ac0359f72a90b16bb0e2f9e6b40dbac54c4e31
treeecd26740a6574ff8c8da18e3f1c1a588155e2ceb
parentee1691d0ae103ba7fd9439800ef454674fadad27
i2c: designware: Constify read-only struct regmap_config

`bt1_i2c_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>
Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
drivers/i2c/busses/i2c-designware-platdrv.c