V4L/DVB (8520): gspca: Bad webcam information in some modules since 28b8203a830e.
authorJean-Francois Moine <moinejf@free.fr>
Sat, 26 Jul 2008 17:30:01 +0000 (14:30 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Sun, 27 Jul 2008 14:06:46 +0000 (11:06 -0300)
Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/gspca/spca500.c
drivers/media/video/gspca/spca501.c
drivers/media/video/gspca/spca505.c
drivers/media/video/gspca/spca508.c
drivers/media/video/gspca/spca561.c
drivers/media/video/gspca/vc032x.c

index 66cf2b684b7cba22881da9b0b224aa06fef03369..17fe2c2a440d8f222f434c4c2692db093ef4e50d 100644 (file)
@@ -1061,21 +1061,21 @@ static struct sd_desc sd_desc = {
 
 /* -- module initialisation -- */
 static const __devinitdata struct usb_device_id device_table[] = {
-       {USB_DEVICE(0x040a, 0x0300), KodakEZ200},
-       {USB_DEVICE(0x041e, 0x400a), CreativePCCam300},
-       {USB_DEVICE(0x046d, 0x0890), LogitechTraveler},
-       {USB_DEVICE(0x046d, 0x0900), LogitechClickSmart310},
-       {USB_DEVICE(0x046d, 0x0901), LogitechClickSmart510},
-       {USB_DEVICE(0x04a5, 0x300c), BenqDC1016},
-       {USB_DEVICE(0x04fc, 0x7333), PalmPixDC85},
-       {USB_DEVICE(0x055f, 0xc200), MustekGsmart300},
-       {USB_DEVICE(0x055f, 0xc220), Gsmartmini},
-       {USB_DEVICE(0x06bd, 0x0404), AgfaCl20},
-       {USB_DEVICE(0x06be, 0x0800), Optimedia},
-       {USB_DEVICE(0x084d, 0x0003), DLinkDSC350},
-       {USB_DEVICE(0x08ca, 0x0103), AiptekPocketDV},
-       {USB_DEVICE(0x2899, 0x012c), ToptroIndus},
-       {USB_DEVICE(0x8086, 0x0630), IntelPocketPCCamera},
+       {USB_DEVICE(0x040a, 0x0300), .driver_info = KodakEZ200},
+       {USB_DEVICE(0x041e, 0x400a), .driver_info = CreativePCCam300},
+       {USB_DEVICE(0x046d, 0x0890), .driver_info = LogitechTraveler},
+       {USB_DEVICE(0x046d, 0x0900), .driver_info = LogitechClickSmart310},
+       {USB_DEVICE(0x046d, 0x0901), .driver_info = LogitechClickSmart510},
+       {USB_DEVICE(0x04a5, 0x300c), .driver_info = BenqDC1016},
+       {USB_DEVICE(0x04fc, 0x7333), .driver_info = PalmPixDC85},
+       {USB_DEVICE(0x055f, 0xc200), .driver_info = MustekGsmart300},
+       {USB_DEVICE(0x055f, 0xc220), .driver_info = Gsmartmini},
+       {USB_DEVICE(0x06bd, 0x0404), .driver_info = AgfaCl20},
+       {USB_DEVICE(0x06be, 0x0800), .driver_info = Optimedia},
+       {USB_DEVICE(0x084d, 0x0003), .driver_info = DLinkDSC350},
+       {USB_DEVICE(0x08ca, 0x0103), .driver_info = AiptekPocketDV},
+       {USB_DEVICE(0x2899, 0x012c), .driver_info = ToptroIndus},
+       {USB_DEVICE(0x8086, 0x0630), .driver_info = IntelPocketPCCamera},
        {}
 };
 MODULE_DEVICE_TABLE(usb, device_table);
index a8a460c6eb0c9b0df68836395c990bcdd5db8049..51a3c3429ef0c26b2f71cb2e9439eec3d1b98921 100644 (file)
@@ -2130,13 +2130,13 @@ static const struct sd_desc sd_desc = {
 
 /* -- module initialisation -- */
 static const __devinitdata struct usb_device_id device_table[] = {
-       {USB_DEVICE(0x040a, 0x0002), KodakDVC325},
-       {USB_DEVICE(0x0497, 0xc001), SmileIntlCamera},
-       {USB_DEVICE(0x0506, 0x00df), ThreeComHomeConnectLite},
-       {USB_DEVICE(0x0733, 0x0401), IntelCreateAndShare},
-       {USB_DEVICE(0x0733, 0x0402), ViewQuestM318B},
-       {USB_DEVICE(0x1776, 0x501c), Arowana300KCMOSCamera},
-       {USB_DEVICE(0x0000, 0x0000), MystFromOriUnknownCamera},
+       {USB_DEVICE(0x040a, 0x0002), .driver_info = KodakDVC325},
+       {USB_DEVICE(0x0497, 0xc001), .driver_info = SmileIntlCamera},
+       {USB_DEVICE(0x0506, 0x00df), .driver_info = ThreeComHomeConnectLite},
+       {USB_DEVICE(0x0733, 0x0401), .driver_info = IntelCreateAndShare},
+       {USB_DEVICE(0x0733, 0x0402), .driver_info = ViewQuestM318B},
+       {USB_DEVICE(0x1776, 0x501c), .driver_info = Arowana300KCMOSCamera},
+       {USB_DEVICE(0x0000, 0x0000), .driver_info = MystFromOriUnknownCamera},
        {}
 };
 MODULE_DEVICE_TABLE(usb, device_table);
index 32ffe5556061151ee7452f6cd1b98a8ada8c681a..3c2be80cbd65033c0ba507fc0068948a88c2ffbf 100644 (file)
@@ -835,8 +835,8 @@ static const struct sd_desc sd_desc = {
 
 /* -- module initialisation -- */
 static const __devinitdata struct usb_device_id device_table[] = {
-       {USB_DEVICE(0x041e, 0x401d), Nxultra},
-       {USB_DEVICE(0x0733, 0x0430), IntelPCCameraPro},
+       {USB_DEVICE(0x041e, 0x401d), .driver_info = Nxultra},
+       {USB_DEVICE(0x0733, 0x0430), .driver_info = IntelPCCameraPro},
 /*fixme: may be UsbGrabberPV321 BRIDGE_SPCA506 SENSOR_SAA7113 */
        {}
 };
index 4378e966edcc93b0c64d5c8dfc2c20e8d5291988..b608a27ad1156e87267b5c75620292f7285bf1f0 100644 (file)
@@ -1643,13 +1643,13 @@ static const struct sd_desc sd_desc = {
 
 /* -- module initialisation -- */
 static const __devinitdata struct usb_device_id device_table[] = {
-       {USB_DEVICE(0x0130, 0x0130), HamaUSBSightcam},
-       {USB_DEVICE(0x041e, 0x4018), CreativeVista},
-       {USB_DEVICE(0x0461, 0x0815), MicroInnovationIC200},
-       {USB_DEVICE(0x0733, 0x0110), ViewQuestVQ110},
-       {USB_DEVICE(0x0af9, 0x0010), HamaUSBSightcam},
-       {USB_DEVICE(0x0af9, 0x0011), HamaUSBSightcam2},
-       {USB_DEVICE(0x8086, 0x0110), IntelEasyPCCamera},
+       {USB_DEVICE(0x0130, 0x0130), .driver_info = HamaUSBSightcam},
+       {USB_DEVICE(0x041e, 0x4018), .driver_info = CreativeVista},
+       {USB_DEVICE(0x0461, 0x0815), .driver_info = MicroInnovationIC200},
+       {USB_DEVICE(0x0733, 0x0110), .driver_info = ViewQuestVQ110},
+       {USB_DEVICE(0x0af9, 0x0010), .driver_info = HamaUSBSightcam},
+       {USB_DEVICE(0x0af9, 0x0011), .driver_info = HamaUSBSightcam2},
+       {USB_DEVICE(0x8086, 0x0110), .driver_info = IntelEasyPCCamera},
        {}
 };
 MODULE_DEVICE_TABLE(usb, device_table);
index 3b46f7dda641d3eb2389d6349b415cf186984583..a26174508cb990588dbe95d27f1ac954ab6fdb4e 100644 (file)
@@ -975,21 +975,21 @@ static const struct sd_desc sd_desc = {
 
 /* -- module initialisation -- */
 static const __devinitdata struct usb_device_id device_table[] = {
-       {USB_DEVICE(0x041e, 0x401a), Rev072A},
-       {USB_DEVICE(0x041e, 0x403b), Rev012A},
-       {USB_DEVICE(0x0458, 0x7004), Rev072A},
-       {USB_DEVICE(0x046d, 0x0928), Rev012A},
-       {USB_DEVICE(0x046d, 0x0929), Rev012A},
-       {USB_DEVICE(0x046d, 0x092a), Rev012A},
-       {USB_DEVICE(0x046d, 0x092b), Rev012A},
-       {USB_DEVICE(0x046d, 0x092c), Rev012A},
-       {USB_DEVICE(0x046d, 0x092d), Rev012A},
-       {USB_DEVICE(0x046d, 0x092e), Rev012A},
-       {USB_DEVICE(0x046d, 0x092f), Rev012A},
-       {USB_DEVICE(0x04fc, 0x0561), Rev072A},
-       {USB_DEVICE(0x060b, 0xa001), Rev072A},
-       {USB_DEVICE(0x10fd, 0x7e50), Rev072A},
-       {USB_DEVICE(0xabcd, 0xcdee), Rev072A},
+       {USB_DEVICE(0x041e, 0x401a), .driver_info = Rev072A},
+       {USB_DEVICE(0x041e, 0x403b), .driver_info = Rev012A},
+       {USB_DEVICE(0x0458, 0x7004), .driver_info = Rev072A},
+       {USB_DEVICE(0x046d, 0x0928), .driver_info = Rev012A},
+       {USB_DEVICE(0x046d, 0x0929), .driver_info = Rev012A},
+       {USB_DEVICE(0x046d, 0x092a), .driver_info = Rev012A},
+       {USB_DEVICE(0x046d, 0x092b), .driver_info = Rev012A},
+       {USB_DEVICE(0x046d, 0x092c), .driver_info = Rev012A},
+       {USB_DEVICE(0x046d, 0x092d), .driver_info = Rev012A},
+       {USB_DEVICE(0x046d, 0x092e), .driver_info = Rev012A},
+       {USB_DEVICE(0x046d, 0x092f), .driver_info = Rev012A},
+       {USB_DEVICE(0x04fc, 0x0561), .driver_info = Rev072A},
+       {USB_DEVICE(0x060b, 0xa001), .driver_info = Rev072A},
+       {USB_DEVICE(0x10fd, 0x7e50), .driver_info = Rev072A},
+       {USB_DEVICE(0xabcd, 0xcdee), .driver_info = Rev072A},
        {}
 };
 
index 5cf1af96d5f5ef342c19690c06afdca1ef75b51e..a4221753e1bf7433e6724873ea85b1dd2afdf3ad 100644 (file)
@@ -1749,14 +1749,14 @@ static const struct sd_desc sd_desc = {
 
 /* -- module initialisation -- */
 static const __devinitdata struct usb_device_id device_table[] = {
-       {USB_DEVICE(0x046d, 0x0892), BRIDGE_VC0321},
-       {USB_DEVICE(0x046d, 0x0896), BRIDGE_VC0321},
-       {USB_DEVICE(0x0ac8, 0x0321), BRIDGE_VC0321},
-       {USB_DEVICE(0x0ac8, 0x0323), BRIDGE_VC0323},
-       {USB_DEVICE(0x0ac8, 0x0328), BRIDGE_VC0321},
-       {USB_DEVICE(0x0ac8, 0xc001), BRIDGE_VC0321},
-       {USB_DEVICE(0x0ac8, 0xc002), BRIDGE_VC0321},
-       {USB_DEVICE(0x17ef, 0x4802), BRIDGE_VC0323},
+       {USB_DEVICE(0x046d, 0x0892), .driver_info = BRIDGE_VC0321},
+       {USB_DEVICE(0x046d, 0x0896), .driver_info = BRIDGE_VC0321},
+       {USB_DEVICE(0x0ac8, 0x0321), .driver_info = BRIDGE_VC0321},
+       {USB_DEVICE(0x0ac8, 0x0323), .driver_info = BRIDGE_VC0323},
+       {USB_DEVICE(0x0ac8, 0x0328), .driver_info = BRIDGE_VC0321},
+       {USB_DEVICE(0x0ac8, 0xc001), .driver_info = BRIDGE_VC0321},
+       {USB_DEVICE(0x0ac8, 0xc002), .driver_info = BRIDGE_VC0321},
+       {USB_DEVICE(0x17ef, 0x4802), .driver_info = BRIDGE_VC0323},
        {}
 };
 MODULE_DEVICE_TABLE(usb, device_table);