Skip to content

Commit

Permalink
V4L/DVB (11048): zoran: fix incorrect return type of notify function.
Browse files Browse the repository at this point in the history
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
  • Loading branch information
Hans Verkuil authored and Mauro Carvalho Chehab committed Mar 30, 2009
1 parent 9467fe1 commit 3347042
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions drivers/media/video/zoran/zoran_card.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand All @@ -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;
}

/*
Expand Down

0 comments on commit 3347042

Please sign in to comment.