linux/drivers/media/common
Christophe JAILLET 065eb4d262 media: flexcop-i2c: Constify struct i2c_algorithm
'struct i2c_algorithm' is not modified in this driver.

Constifying this structure moves some data to a read-only section, so
increase overall security, especially when the structure holds some
function pointers.

On a x86_64, with allmodconfig, as an example:
Before:
======
   text	   data	    bss	    dec	    hex	filename
   6645	    216	     16	   6877	   1add	drivers/media/common/b2c2/flexcop-i2c.o

After:
=====
   text	   data	    bss	    dec	    hex	filename
   6721	    160	     16	   6897	   1af1	drivers/media/common/b2c2/flexcop-i2c.o

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2025-06-17 10:35:14 +02:00
..
b2c2 media: flexcop-i2c: Constify struct i2c_algorithm 2025-06-17 10:35:14 +02:00
saa7146 treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00
siano media: siano: Fix error handling in smsdvb_module_init() 2025-03-06 17:28:29 +01:00
v4l2-tpg media: v4l2-tpg: use (t,l)/wxh format for rectangle 2025-03-05 10:43:27 +01:00
videobuf2 media: videobuf2: use sgtable-based scatterlist wrappers 2025-05-09 11:55:07 +02:00
cx2341x.c
cypress_firmware.c
cypress_firmware.h
Kconfig
Makefile
ttpci-eeprom.c
ttpci-eeprom.h
tveeprom.c
uvc.c