Commit 33470423 authored by Hans Verkuil's avatar Hans Verkuil Committed by Mauro Carvalho Chehab

V4L/DVB (11048): zoran: fix incorrect return type of notify function.

Signed-off-by: default avatarHans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 9467fe12
...@@ -1196,7 +1196,7 @@ zoran_setup_videocodec (struct zoran *zr, ...@@ -1196,7 +1196,7 @@ zoran_setup_videocodec (struct zoran *zr,
return m; 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); 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 ...@@ -1206,7 +1206,6 @@ static int zoran_subdev_notify(struct v4l2_subdev *sd, unsigned int cmd, void *a
GPIO(zr, 7, 0); GPIO(zr, 7, 0);
else if (cmd == BT819_FIFO_RESET_HIGH) else if (cmd == BT819_FIFO_RESET_HIGH)
GPIO(zr, 7, 1); GPIO(zr, 7, 1);
return 0;
} }
/* /*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment