linux-loongson/drivers/media/tuners
Christophe JAILLET 70d4fd1200 media: tuners: Constify struct tunertype, tuner_range and tuner_params
'struct tunertype', 'struct tuner_range' and 'struct tuner_params' are not
modified in this driver.

Constifying these structures moves some data to a read-only section, so
increase overall security.

On a x86_64, with allmodconfig:
Before:
======
   2877	   8554	      0	  11431	   2ca7	drivers/media/tuners/tuner-types.o

After:
=====
   text	   data	    bss	    dec	    hex	filename
  11421	     48	      0	  11469	   2ccd	drivers/media/tuners/tuner-types.o

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2025-02-21 10:33:15 +01:00
..
e4000_priv.h
e4000.c media: Drop explicit initialization of struct i2c_device_id::driver_data to 0 2024-08-09 07:56:37 +02:00
e4000.h
fc001x-common.h
fc0011.c media: dvb: symbol fixup for dvb_attach() 2023-09-09 08:15:11 +01:00
fc0011.h
fc0012-priv.h
fc0012.c media: dvb: symbol fixup for dvb_attach() 2023-09-09 08:15:11 +01:00
fc0012.h
fc0013-priv.h
fc0013.c media: tuners: fc0013 Remove unused functions 2024-12-02 14:05:25 +01:00
fc0013.h media: tuners: fc0013 Remove unused functions 2024-12-02 14:05:25 +01:00
fc2580_priv.h
fc2580.c media: Drop explicit initialization of struct i2c_device_id::driver_data to 0 2024-08-09 07:56:37 +02:00
fc2580.h
it913x.c media: Switch back to struct platform_driver::remove() 2024-10-12 16:28:25 +02:00
it913x.h media: media tuner headers: fix kernel-doc warnings 2021-03-22 10:24:27 +01:00
Kconfig media: media/*/Kconfig: sort entries 2022-03-18 05:58:35 +01:00
m88rs6000t.c media: Drop explicit initialization of struct i2c_device_id::driver_data to 0 2024-08-09 07:56:37 +02:00
m88rs6000t.h
Makefile media: Makefiles: sort entries where it fits 2022-03-14 09:42:59 +01:00
max2165_priv.h
max2165.c media: dvb: symbol fixup for dvb_attach() 2023-09-09 08:15:11 +01:00
max2165.h
mc44s803_priv.h
mc44s803.c media: dvb: symbol fixup for dvb_attach() 2023-09-09 08:15:11 +01:00
mc44s803.h
msi001.c spi: make remove callback a void function 2022-02-09 13:00:45 +00:00
mt20xx.c
mt20xx.h
mt2060_priv.h
mt2060.c media: Drop explicit initialization of struct i2c_device_id::driver_data to 0 2024-08-09 07:56:37 +02:00
mt2060.h
mt2063.c media:tuners: Fix typos in comments across various files 2024-10-12 16:28:25 +02:00
mt2063.h
mt2131_priv.h
mt2131.c media: dvb: symbol fixup for dvb_attach() 2023-09-09 08:15:11 +01:00
mt2131.h
mt2266.c media: dvb: symbol fixup for dvb_attach() 2023-09-09 08:15:11 +01:00
mt2266.h
mxl301rf.c media:tuners: Fix typos in comments across various files 2024-10-12 16:28:25 +02:00
mxl301rf.h
mxl5005s.c media:tuners: Fix typos in comments across various files 2024-10-12 16:28:25 +02:00
mxl5005s.h
mxl5007t.c media: tuners: mxl5007t: Removed unnecessary 'return' 2021-09-30 10:07:40 +02:00
mxl5007t.h
qm1d1b0004.c media: Drop explicit initialization of struct i2c_device_id::driver_data to 0 2024-08-09 07:56:37 +02:00
qm1d1b0004.h
qm1d1c0042.c media: Drop explicit initialization of struct i2c_device_id::driver_data to 0 2024-08-09 07:56:37 +02:00
qm1d1c0042.h
qt1010_priv.h
qt1010.c media: dvb: symbol fixup for dvb_attach() 2023-09-09 08:15:11 +01:00
qt1010.h media: media tuner headers: fix kernel-doc warnings 2021-03-22 10:24:27 +01:00
r820t.c media: Print chip type explicitly when loading the Rafael Micro r820t module 2021-12-07 11:29:57 +01:00
r820t.h
si2157_priv.h media: si2157: add ATV support for si2158 2021-12-14 16:19:05 +01:00
si2157.c media: Switch i2c drivers back to use .probe() 2023-05-25 16:21:21 +02:00
si2157.h
tda827x.c
tda827x.h media: media tuner headers: fix kernel-doc warnings 2021-03-22 10:24:27 +01:00
tda8290.c
tda8290.h
tda9887.c media: tda9887: add missing MODULE_DESCRIPTION() macro 2024-06-15 10:49:20 +02:00
tda9887.h
tda18212.c media: Drop explicit initialization of struct i2c_device_id::driver_data to 0 2024-08-09 07:56:37 +02:00
tda18212.h
tda18218_priv.h
tda18218.c media: dvb: symbol fixup for dvb_attach() 2023-09-09 08:15:11 +01:00
tda18218.h
tda18250_priv.h
tda18250.c media: Drop explicit initialization of struct i2c_device_id::driver_data to 0 2024-08-09 07:56:37 +02:00
tda18250.h
tda18271-common.c
tda18271-fe.c media: tda18271: add missing result checking of tda18271_lookup_map() 2024-10-12 16:28:24 +02:00
tda18271-maps.c
tda18271-priv.h
tda18271.h
tea5761.c media:tuners: Fix typos in comments across various files 2024-10-12 16:28:25 +02:00
tea5761.h
tea5767.c media:tuners: Fix typos in comments across various files 2024-10-12 16:28:25 +02:00
tea5767.h
tua9001_priv.h
tua9001.c media: Drop explicit initialization of struct i2c_device_id::driver_data to 0 2024-08-09 07:56:37 +02:00
tua9001.h
tuner-i2c.h Revert "media: tuners: fix error return code of hybrid_tuner_request_state()" 2024-08-09 07:56:38 +02:00
tuner-simple.c media: tuners: Constify struct tunertype, tuner_range and tuner_params 2025-02-21 10:33:15 +01:00
tuner-simple.h
tuner-types.c media: tuners: Constify struct tunertype, tuner_range and tuner_params 2025-02-21 10:33:15 +01:00
xc2028-types.h media: xc2028: rename the driver from tuner-xc2028 2022-03-12 16:59:50 +01:00
xc2028.c move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
xc2028.h media: xc2028: rename the driver from tuner-xc2028 2022-03-12 16:59:50 +01:00
xc4000.c move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
xc4000.h
xc5000.c media: tunner: xc5000: Refactor firmware load 2024-04-15 13:42:38 +02:00
xc5000.h