diff options
author | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-04-14 15:09:59 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-04-14 15:09:59 -0300 |
commit | 8dc666d4b3b64814dc3a27e476350b94fcdfb232 (patch) | |
tree | f1202f22f3bcfda3c784baf5ee42173eddc16e06 /linux/drivers/media/video/usbvision/usbvision.h | |
parent | d04d11092bad04308dbf43464777ce324ff0c6d2 (diff) | |
download | mediapointer-dvb-s2-8dc666d4b3b64814dc3a27e476350b94fcdfb232.tar.gz mediapointer-dvb-s2-8dc666d4b3b64814dc3a27e476350b94fcdfb232.tar.bz2 |
Use a better format to represent usbvision supported boards
From: Mauro Carvalho Chehab <mchehab@infradead.org>
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>
Diffstat (limited to 'linux/drivers/media/video/usbvision/usbvision.h')
-rw-r--r-- | linux/drivers/media/video/usbvision/usbvision.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/linux/drivers/media/video/usbvision/usbvision.h b/linux/drivers/media/video/usbvision/usbvision.h index bee7d06bc..9bd1e6ac5 100644 --- a/linux/drivers/media/video/usbvision/usbvision.h +++ b/linux/drivers/media/video/usbvision/usbvision.h @@ -342,8 +342,6 @@ struct usbvision_frame { #define BRIDGE_NT1005 1005 struct usbvision_device_data_st { - int idVendor; - int idProduct; int Interface; /* to handle special interface number like BELKIN and Hauppauge WinTV-USB II */ int Codec; int VideoChannels; |