]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
V4L/DVB (8956): bttv: Turn video_nr, vbi_nr and radio_nr into arrays
authorJean Delvare <khali@linux-fr.org>
Sun, 7 Sep 2008 15:49:59 +0000 (12:49 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sun, 12 Oct 2008 11:37:01 +0000 (09:37 -0200)
commit176c2f34157a8d8b252c8f0bc242457c971b06a1
tree4a78681b9d4dc4fb58eef5c3055f3268368476b1
parentc87994db017a5a28af2edd043669a371d800919e
V4L/DVB (8956): bttv: Turn video_nr, vbi_nr and radio_nr into arrays

With video_nr, vbi_nr and radio_nr being simple integers, it is not
possible to use these parameters on a system with multiple bttv
adapters (which happens to be my case.) video_register_device() will
always fail on the second and later adapters. Turn these parameters
into arrays, as many other V4L drivers are already doing, so that they
can be used on such systems.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/bt8xx/bttv-driver.c