summaryrefslogtreecommitdiff
path: root/linux
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2009-03-14 16:53:37 +0100
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-03-14 16:53:37 +0100
commit8cbd6527524b2013a34446961953e5424bc7f764 (patch)
tree94c53aa2d6a2a70a887e6fd11561a05d4b752a30 /linux
parent98067ab29acca0eafb57f28d72ae299eb41d6642 (diff)
downloadmediapointer-dvb-s2-8cbd6527524b2013a34446961953e5424bc7f764.tar.gz
mediapointer-dvb-s2-8cbd6527524b2013a34446961953e5424bc7f764.tar.bz2
zoran: fix incorrect return type of notify function.
From: Hans Verkuil <hverkuil@xs4all.nl> Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'linux')
-rw-r--r--linux/drivers/media/video/zoran/zoran_card.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/linux/drivers/media/video/zoran/zoran_card.c b/linux/drivers/media/video/zoran/zoran_card.c
index 29007f9b5..b7dea2b8a 100644
--- a/linux/drivers/media/video/zoran/zoran_card.c
+++ b/linux/drivers/media/video/zoran/zoran_card.c
@@ -1197,7 +1197,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);
@@ -1207,7 +1207,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;
}
/*