Christophe JAILLET f79f8a8a96 media: i2c: tvp5150: Constify some structures
'vbi_ram_default' and 'tvp5150_config' are not modified in this diver
and are only used as a const struct.

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
  57197	   2936	     36	  60169	   eb09	drivers/media/i2c/tvp5150.o

After:
   text	   data	    bss	    dec	    hex	filename
  57517	   2608	     36	  60161	   eb01	drivers/media/i2c/tvp5150.o

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
2024-08-09 07:56:37 +02:00
..
2024-03-15 11:36:54 -07:00
2024-01-22 17:23:59 +01:00
2023-08-10 07:58:41 +02:00
2023-12-13 13:21:21 +01:00
2024-02-23 14:33:32 +01:00
2024-06-04 08:31:26 +02:00
2024-06-15 11:16:40 +02:00