diff options
author | Akinobu Mita <akinobu.mita@gmail.com> | 2007-04-14 15:24:15 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-04-27 20:45:39 +0200 |
commit | 66ab6e023ebbb362b7cf42c8f56cc54a85fb7bb0 (patch) | |
tree | 2a7888e2c58064defab57feee9fcf463770b15ff /.gitignore | |
parent | V4L/DVB (5524): Usbvision: fix TDA9887 detection (diff) | |
download | linux-66ab6e023ebbb362b7cf42c8f56cc54a85fb7bb0.tar.xz linux-66ab6e023ebbb362b7cf42c8f56cc54a85fb7bb0.zip |
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>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions