diff options
author | Jean-Francois Moine <moinejf@free.fr> | 2008-12-31 06:13:46 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-03-30 11:42:29 -0400 |
commit | 50e06dee958bdb81229cb42486f7fdc4917fa4da (patch) | |
tree | 9a5d02a24e5684c008137774a5ce0211a421c893 /drivers/media/video/gspca/mars.c | |
parent | afd46291393e20736368e275a6f5f7c44dfe9540 (diff) |
V4L/DVB (10333): gspca - main and many subdrivers: Remove the epaddr variable.
The transfer endpoint address is now automatically chosen.
Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/gspca/mars.c')
-rw-r--r-- | drivers/media/video/gspca/mars.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/media/video/gspca/mars.c b/drivers/media/video/gspca/mars.c index 3d2090e67a63..ba79afbf8b39 100644 --- a/drivers/media/video/gspca/mars.c +++ b/drivers/media/video/gspca/mars.c | |||
@@ -121,7 +121,6 @@ static int sd_config(struct gspca_dev *gspca_dev, | |||
121 | struct cam *cam; | 121 | struct cam *cam; |
122 | 122 | ||
123 | cam = &gspca_dev->cam; | 123 | cam = &gspca_dev->cam; |
124 | cam->epaddr = 0x01; | ||
125 | cam->cam_mode = vga_mode; | 124 | cam->cam_mode = vga_mode; |
126 | cam->nmodes = ARRAY_SIZE(vga_mode); | 125 | cam->nmodes = ARRAY_SIZE(vga_mode); |
127 | sd->qindex = 1; /* set the quantization table */ | 126 | sd->qindex = 1; /* set the quantization table */ |