summaryrefslogtreecommitdiffstats
path: root/drivers/media/i2c/s5c73m3
diff options
context:
space:
mode:
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>2024-05-05 09:28:25 +0200
committerHans Verkuil <hverkuil-cisco@xs4all.nl>2024-08-09 07:56:37 +0200
commit343cb1ec7b3dd626e4b93b27d7aff604b06453e9 (patch)
tree093a065ba5179397cac2dc042fe934dfdfed43f2 /drivers/media/i2c/s5c73m3
parentmedia: i2c: tvp5150: Constify some structures (diff)
downloadlinux-343cb1ec7b3dd626e4b93b27d7aff604b06453e9.tar.xz
linux-343cb1ec7b3dd626e4b93b27d7aff604b06453e9.zip
media: platform: allegro-dvt: Constify struct regmap_config
'allegro_regmap_config' and 'allegro_sram_config' are not modified in this diver and are only used as a const struct regmap_config. Constifying these structures moves some data to a read-only section, so increase overall security. On a x86_64, with allmodconfig: Before: text data bss dec hex filename 79587 3706 116 83409 145d1 drivers/media/platform/allegro-dvt/allegro-core.o After: text data bss dec hex filename 80219 3066 116 83401 145c9 drivers/media/platform/allegro-dvt/allegro-core.o Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Reviewed-by: Michael Tretter <m.tretter@pengutronix.de> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Diffstat (limited to 'drivers/media/i2c/s5c73m3')
0 files changed, 0 insertions, 0 deletions