diff options
Diffstat (limited to 'drivers/media/video/gspca/pac7311.c')
-rw-r--r-- | drivers/media/video/gspca/pac7311.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/media/video/gspca/pac7311.c b/drivers/media/video/gspca/pac7311.c index a9c95cba710e..e1e3a3a50484 100644 --- a/drivers/media/video/gspca/pac7311.c +++ b/drivers/media/video/gspca/pac7311.c | |||
@@ -498,7 +498,6 @@ static int sd_config(struct gspca_dev *gspca_dev, | |||
498 | struct cam *cam; | 498 | struct cam *cam; |
499 | 499 | ||
500 | cam = &gspca_dev->cam; | 500 | cam = &gspca_dev->cam; |
501 | cam->epaddr = 0x05; | ||
502 | 501 | ||
503 | sd->sensor = id->driver_info; | 502 | sd->sensor = id->driver_info; |
504 | if (sd->sensor == SENSOR_PAC7302) { | 503 | if (sd->sensor == SENSOR_PAC7302) { |
@@ -1097,8 +1096,10 @@ static struct usb_driver sd_driver = { | |||
1097 | /* -- module insert / remove -- */ | 1096 | /* -- module insert / remove -- */ |
1098 | static int __init sd_mod_init(void) | 1097 | static int __init sd_mod_init(void) |
1099 | { | 1098 | { |
1100 | if (usb_register(&sd_driver) < 0) | 1099 | int ret; |
1101 | return -1; | 1100 | ret = usb_register(&sd_driver); |
1101 | if (ret < 0) | ||
1102 | return ret; | ||
1102 | PDEBUG(D_PROBE, "registered"); | 1103 | PDEBUG(D_PROBE, "registered"); |
1103 | return 0; | 1104 | return 0; |
1104 | } | 1105 | } |