]> git.baikalelectronics.ru Git - kernel.git/commit
V4L/DVB (5515): Use a better format to represent usbvision supported boards
authorMauro Carvalho Chehab <mchehab@infradead.org>
Sat, 14 Apr 2007 18:09:59 +0000 (15:09 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Fri, 27 Apr 2007 18:45:32 +0000 (15:45 -0300)
commit276308e868fd461c117aab8e22e9459b3a07b851
treea31e9662850d5db2203e7e6eb7896cbd5ef04c67
parentde6deb418728959712af0e2212a7a7e993325515
V4L/DVB (5515): Use a better format to represent usbvision supported boards

Changed usbvision cards table to allow:
1) Not repeat USB ID on two structs;
2) Not need to specify both usb and card description tables at
   the same order, removing some magic;
Some cards had duplicated names. Fixed.
A test for an specific board were doing by using a string comparation.
The comparation were wrong. Also, it is not a good practice to recognize
a board based on his string name.
Acked-by: Thierry MERLE <thierry.merle@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Documentation/video4linux/CARDLIST.usbvision
drivers/media/video/usbvision/usbvision-cards.c
drivers/media/video/usbvision/usbvision-cards.h [new file with mode: 0644]
drivers/media/video/usbvision/usbvision-video.c
drivers/media/video/usbvision/usbvision.h