aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/gspca/mars.c
diff options
context:
space:
mode:
authorJean-Francois Moine <moinejf@free.fr>2008-07-23 02:39:42 -0400
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-07-27 10:06:33 -0400
commit07767ebda385956bd2b193f9820de719475bfe6e (patch)
treeeaf521c123c0c410f5ce9d5558b8566a24eadc4e /drivers/media/video/gspca/mars.c
parentc6edaf1674d3c17770b1c9966306b802adb21a2b (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/mars.c')
-rw-r--r--drivers/media/video/gspca/mars.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/media/video/gspca/mars.c b/drivers/media/video/gspca/mars.c
index a4706162f415..2d47876bfec9 100644
--- a/drivers/media/video/gspca/mars.c
+++ b/drivers/media/video/gspca/mars.c
@@ -137,7 +137,6 @@ static int sd_config(struct gspca_dev *gspca_dev,
137 struct cam *cam; 137 struct cam *cam;
138 138
139 cam = &gspca_dev->cam; 139 cam = &gspca_dev->cam;
140 cam->dev_name = (char *) id->driver_info;
141 cam->epaddr = 0x01; 140 cam->epaddr = 0x01;
142 cam->cam_mode = vga_mode; 141 cam->cam_mode = vga_mode;
143 cam->nmodes = sizeof vga_mode / sizeof vga_mode[0]; 142 cam->nmodes = sizeof vga_mode / sizeof vga_mode[0];