diff options
author | Jean-Francois Moine <moinejf@free.fr> | 2008-07-23 02:39:42 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-07-27 10:06:33 -0400 |
commit | 07767ebda385956bd2b193f9820de719475bfe6e (patch) | |
tree | eaf521c123c0c410f5ce9d5558b8566a24eadc4e /drivers/media/video/gspca/stk014.c | |
parent | c6edaf1674d3c17770b1c9966306b802adb21a2b (diff) |
V4L/DVB (8512): gspca: Do not use the driver_info field of usb_device_id.
The field driver_info will be used to handle the specific per webcam
information.
Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/gspca/stk014.c')
-rw-r--r-- | drivers/media/video/gspca/stk014.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/media/video/gspca/stk014.c b/drivers/media/video/gspca/stk014.c index 90efde17b08b..f6390b49f693 100644 --- a/drivers/media/video/gspca/stk014.c +++ b/drivers/media/video/gspca/stk014.c | |||
@@ -296,7 +296,6 @@ static int sd_config(struct gspca_dev *gspca_dev, | |||
296 | struct sd *sd = (struct sd *) gspca_dev; | 296 | struct sd *sd = (struct sd *) gspca_dev; |
297 | struct cam *cam = &gspca_dev->cam; | 297 | struct cam *cam = &gspca_dev->cam; |
298 | 298 | ||
299 | cam->dev_name = (char *) id->driver_info; | ||
300 | cam->epaddr = 0x02; | 299 | cam->epaddr = 0x02; |
301 | gspca_dev->cam.cam_mode = vga_mode; | 300 | gspca_dev->cam.cam_mode = vga_mode; |
302 | gspca_dev->cam.nmodes = ARRAY_SIZE(vga_mode); | 301 | gspca_dev->cam.nmodes = ARRAY_SIZE(vga_mode); |