linux/drivers/media/dvb
Jonathan Nieder d07b901f9d [media] af9005, af9015: use symbolic names for USB id table indices
The af9005_properties and af9015_properties tables make use of USB ids
from the USB id tables with hardcoded indices, as in
"&af9015_usb_table[30]".  Adding new entries before the end breaks
such references, so everyone has had to carefully tiptoe to only add
entries at the end of the list.

In the spirit of "dw2102: use symbolic names for dw2102_table
indices", use C99-style initializers with symbolic names for each
index to avoid this.  In the new regime, properties tables referring
to the USB ids have names like "&af9015_usb_table[CINERGY_T_STICK_RC]"
that do not change meaning when items in the USB id table are
reordered.

Encouraged-by: Mauro Carvalho Chehab <mchehab@redhat.com>

Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Acked-by: Luca Olivetti <luca@ventoso.org>
Acked-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2012-01-10 22:46:14 -02:00
..
b2c2 [media] flexcop: CodingStyle fix: don't use "if ((ret = foo()) < 0)" 2012-01-07 11:51:00 -02:00
bt8xx [media] dvb-bt8xx: convert printks to pr_err() 2012-01-07 11:53:35 -02:00
ddbridge [media] drxk: create only one frontend for both DVB-C and DVB-T 2012-01-05 16:44:09 -02:00
dm1105 [media] dm1105: release dvbnet on frontend attachment failure 2012-01-07 11:54:03 -02:00
dvb-core [media] dvb_ca_en50221: fix compilation breakage 2012-01-10 19:15:45 -02:00
dvb-usb [media] af9005, af9015: use symbolic names for USB id table indices 2012-01-10 22:46:14 -02:00
firewire [media] firedtv: handle errors from dvb_net_init 2012-01-06 12:51:26 -02:00
frontends [media] mb86a20s: implement get_frontend() 2012-01-10 22:35:29 -02:00
mantis [media] tuners: remove dvb_frontend_parameters from set_params() 2011-12-31 08:57:29 -02:00
ngene [media] drxk: create only one frontend for both DVB-C and DVB-T 2012-01-05 16:44:09 -02:00
pluto2 [media] tuners: remove dvb_frontend_parameters from set_params() 2011-12-31 08:57:29 -02:00
pt1 [media] dvb: Remove ops->info.type from frontends 2012-01-04 17:30:34 -02:00
siano [media] dvb: Remove ops->info.type from frontends 2012-01-04 17:30:34 -02:00
ttpci [media] av7110: convert set_fontend to use DVBv5 parameters 2011-12-31 09:15:04 -02:00
ttusb-budget [media] ttusb-budget: use goto for exception handling 2012-01-06 12:44:22 -02:00
ttusb-dec [media] dvb: Remove ops->info.type from frontends 2012-01-04 17:30:34 -02:00
Kconfig [media] ddbridge: Allow compiling of the driver 2011-07-27 17:55:45 -03:00
Makefile [media] ddbridge: Allow compiling of the driver 2011-07-27 17:55:45 -03:00