summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/gspca/conex.c
diff options
context:
space:
mode:
authorJean-Francois Moine <moinejf@free.fr>2008-09-20 11:39:08 +0200
committerJean-Francois Moine <moinejf@free.fr>2008-09-20 11:39:08 +0200
commit4da45e91dbbd552ebcee4d48b856c66e6ca9f839 (patch)
treed5b39a96ecb9349c265e4d82e753d9817115de5a /linux/drivers/media/video/gspca/conex.c
parent7b960fac24dbec9cd02cba8d72415391e2d44556 (diff)
downloadmediapointer-dvb-s2-4da45e91dbbd552ebcee4d48b856c66e6ca9f839.tar.gz
mediapointer-dvb-s2-4da45e91dbbd552ebcee4d48b856c66e6ca9f839.tar.bz2
gspca: Return error code from stream start functions.
From: Jean-Francois Moine <moinejf@free.fr> Priority: normal Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Diffstat (limited to 'linux/drivers/media/video/gspca/conex.c')
-rw-r--r--linux/drivers/media/video/gspca/conex.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/linux/drivers/media/video/gspca/conex.c b/linux/drivers/media/video/gspca/conex.c
index 4d9f4cc25..a9d51ba7c 100644
--- a/linux/drivers/media/video/gspca/conex.c
+++ b/linux/drivers/media/video/gspca/conex.c
@@ -837,12 +837,13 @@ static int sd_init(struct gspca_dev *gspca_dev)
return 0;
}
-static void sd_start(struct gspca_dev *gspca_dev)
+static int sd_start(struct gspca_dev *gspca_dev)
{
cx11646_initsize(gspca_dev);
cx11646_fw(gspca_dev);
cx_sensor(gspca_dev);
cx11646_jpeg(gspca_dev);
+ return 0;
}
static void sd_stop0(struct gspca_dev *gspca_dev)