V4L/DVB (11048): zoran: fix incorrect return type of notify function.
authorHans Verkuil <hverkuil@xs4all.nl>
Sat, 14 Mar 2009 15:53:37 +0000 (12:53 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 30 Mar 2009 15:43:23 +0000 (12:43 -0300)
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/zoran/zoran_card.c

index ec9b6ef..f91bba4 100644 (file)
@@ -1196,7 +1196,7 @@ zoran_setup_videocodec (struct zoran *zr,
        return m;
 }
 
-static int zoran_subdev_notify(struct v4l2_subdev *sd, unsigned int cmd, void *arg)
+static void zoran_subdev_notify(struct v4l2_subdev *sd, unsigned int cmd, void *arg)
 {
        struct zoran *zr = to_zoran(sd->v4l2_dev);
 
@@ -1206,7 +1206,6 @@ static int zoran_subdev_notify(struct v4l2_subdev *sd, unsigned int cmd, void *a
                GPIO(zr, 7, 0);
        else if (cmd == BT819_FIFO_RESET_HIGH)
                GPIO(zr, 7, 1);
-       return 0;
 }
 
 /*