diff options
author | Thierry MERLE <thierry.merle@free.fr> | 2007-04-17 01:28:32 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-04-27 14:45:43 -0400 |
commit | ec709bb801a98dcac0a95c060c431eda73e31587 (patch) | |
tree | 83aaa3623a248a884a4b54bf636998229a5eb3f6 /drivers/media/video/usbvision/usbvision-cards.c | |
parent | 25f30389dd84dcaf54d7d76fdd84e85bec206db6 (diff) |
V4L/DVB (5530): Usbvision: remove CustomDevice facility
usbvision has a module parameter that ables the user to add a new USB
entry at driver load. This functionality is useless by experience
(adding statically the entry is easy).
Furthermore, the USB_DEVICE(0xfff0, 0xfff0) USB entry caused
usbvision_probe to be called for all unclaimed devices.
Signed-off-by: Thierry MERLE <thierry.merle@free.fr>
Acked-by: Dwaine Garden <DwaineGarden@rogers.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/usbvision/usbvision-cards.c')
-rw-r--r-- | drivers/media/video/usbvision/usbvision-cards.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/drivers/media/video/usbvision/usbvision-cards.c b/drivers/media/video/usbvision/usbvision-cards.c index edee094cf15d..13f69fe6360d 100644 --- a/drivers/media/video/usbvision/usbvision-cards.c +++ b/drivers/media/video/usbvision/usbvision-cards.c | |||
@@ -32,20 +32,6 @@ | |||
32 | 32 | ||
33 | /* Supported Devices: A table for usbvision.c*/ | 33 | /* Supported Devices: A table for usbvision.c*/ |
34 | struct usbvision_device_data_st usbvision_device_data[] = { | 34 | struct usbvision_device_data_st usbvision_device_data[] = { |
35 | [DUMMY_DEVICE] = { | ||
36 | .Interface = -1, | ||
37 | .Codec = CODEC_SAA7111, | ||
38 | .VideoChannels = 3, | ||
39 | .VideoNorm = V4L2_STD_NTSC, | ||
40 | .AudioChannels = 1, | ||
41 | .Radio = 1, | ||
42 | .vbi = 1, | ||
43 | .Tuner = 1, | ||
44 | .TunerType = TUNER_PHILIPS_NTSC_M, | ||
45 | .X_Offset = -1, | ||
46 | .Y_Offset = -1, | ||
47 | .ModelString = "Custom Dummy USBVision Device", | ||
48 | }, | ||
49 | [XANBOO] = { | 35 | [XANBOO] = { |
50 | .Interface = -1, | 36 | .Interface = -1, |
51 | .Codec = CODEC_SAA7113, | 37 | .Codec = CODEC_SAA7113, |
@@ -1032,7 +1018,6 @@ const int usbvision_device_data_size=ARRAY_SIZE(usbvision_device_data); | |||
1032 | /* Supported Devices */ | 1018 | /* Supported Devices */ |
1033 | 1019 | ||
1034 | struct usb_device_id usbvision_table [] = { | 1020 | struct usb_device_id usbvision_table [] = { |
1035 | { USB_DEVICE(0xfff0, 0xfff0), .driver_info=DUMMY_DEVICE }, | ||
1036 | { USB_DEVICE(0x0a6f, 0x0400), .driver_info=XANBOO }, | 1021 | { USB_DEVICE(0x0a6f, 0x0400), .driver_info=XANBOO }, |
1037 | { USB_DEVICE(0x050d, 0x0106), .driver_info=BELKIN_VIDEOBUS_II }, | 1022 | { USB_DEVICE(0x050d, 0x0106), .driver_info=BELKIN_VIDEOBUS_II }, |
1038 | { USB_DEVICE(0x050d, 0x0207), .driver_info=BELKIN_VIDEOBUS }, | 1023 | { USB_DEVICE(0x050d, 0x0207), .driver_info=BELKIN_VIDEOBUS }, |