linux/drivers/media
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
..
common [media] mxl5007t: bugfix DVB-T 7 MHz and 8 MHz bandwidth 2012-01-10 22:38:15 -02:00
dvb [media] af9005, af9015: use symbolic names for USB id table indices 2012-01-10 22:46:14 -02:00
radio [media] drivers: media: radio: Fix dependencies for RADIO_WL128X 2012-01-06 13:17:50 -02:00
rc Merge tag 'v3.2-rc7' into staging/for_v3.3 2011-12-30 13:59:37 -02:00
video [media] cx231xx: use URB_NO_TRANSFER_DMA_MAP on URBs allocated with usb_alloc_urb() 2012-01-10 22:38:59 -02:00
Kconfig
Makefile
media-device.c
media-devnode.c
media-entity.c