diff options
Diffstat (limited to 'drivers/media/video/gspca/stk014.c')
-rw-r--r-- | drivers/media/video/gspca/stk014.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/media/video/gspca/stk014.c b/drivers/media/video/gspca/stk014.c index 2f2de429e273..d9d64911f22a 100644 --- a/drivers/media/video/gspca/stk014.c +++ b/drivers/media/video/gspca/stk014.c | |||
@@ -324,7 +324,7 @@ static int sd_init(struct gspca_dev *gspca_dev) | |||
324 | } | 324 | } |
325 | 325 | ||
326 | /* -- start the camera -- */ | 326 | /* -- start the camera -- */ |
327 | static void sd_start(struct gspca_dev *gspca_dev) | 327 | static int sd_start(struct gspca_dev *gspca_dev) |
328 | { | 328 | { |
329 | int ret, value; | 329 | int ret, value; |
330 | 330 | ||
@@ -374,9 +374,10 @@ static void sd_start(struct gspca_dev *gspca_dev) | |||
374 | set_par(gspca_dev, 0x01000000); | 374 | set_par(gspca_dev, 0x01000000); |
375 | set_par(gspca_dev, 0x01000000); | 375 | set_par(gspca_dev, 0x01000000); |
376 | PDEBUG(D_STREAM, "camera started alt: 0x%02x", gspca_dev->alt); | 376 | PDEBUG(D_STREAM, "camera started alt: 0x%02x", gspca_dev->alt); |
377 | return; | 377 | return 0; |
378 | out: | 378 | out: |
379 | PDEBUG(D_ERR|D_STREAM, "camera start err %d", ret); | 379 | PDEBUG(D_ERR|D_STREAM, "camera start err %d", ret); |
380 | return ret; | ||
380 | } | 381 | } |
381 | 382 | ||
382 | static void sd_stopN(struct gspca_dev *gspca_dev) | 383 | static void sd_stopN(struct gspca_dev *gspca_dev) |