linux/drivers/media
Akinobu Mita 66ab6e023e V4L/DVB (5513): Bt878: prevent probing wrong card entry
I got strange message when I did modprobe bt878:
bt878_probe: card id=[0x0],[ <NULL> ] has DVB functions.
The card_list array is terminated by sentinel entry.
But this list is traversed by:
for (i = 0, dvb_cards = card_list; i < ARRAY_SIZE(card_list);
     i++, dvb_cards++) {
...
}
in bt878_probe().
So this loop checks dummy sentinel entry, too.
This patch removes unnecessary sentinel entry.

Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-04-27 15:45:39 -03:00
..
common V4L/DVB (5520): Add support for the extra keys in the black Technotrend 1500 IR 2007-04-27 15:45:35 -03:00
dvb V4L/DVB (5513): Bt878: prevent probing wrong card entry 2007-04-27 15:45:39 -03:00
radio V4L/DVB (5390): Radio: Fix error in Kbuild file 2007-03-27 08:45:53 -03:00
video V4L/DVB (5524): Usbvision: fix TDA9887 detection 2007-04-27 15:45:39 -03:00
Kconfig V4L/DVB (5196): VIDEO_BUF depends on PCI 2007-02-21 13:35:16 -02:00
Makefile [PATCH] dvb: avoid building empty built-in.o 2005-09-09 13:57:36 -07:00