summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <devnull@localhost>2005-11-16 19:56:15 +0000
committerMauro Carvalho Chehab <devnull@localhost>2005-11-16 19:56:15 +0000
commit2a143756fb26da430caa226e758a124467dd2fe9 (patch)
treee466c0666fe220951dc5c3dc5b103346975cf5c5
parent3e7aa9c77bd81131abca6c1a12c9770a02cd2a27 (diff)
downloadmediapointer-dvb-s2-2a143756fb26da430caa226e758a124467dd2fe9.tar.gz
mediapointer-dvb-s2-2a143756fb26da430caa226e758a124467dd2fe9.tar.bz2
Fixes warning at bttv-driver.c
From: Luiz Capitulino <lcapitulino@mandriva.com.br> Signed-off-by: Luiz Capitulino <lcapitulino@mandriva.com.br> Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
-rw-r--r--linux/drivers/media/video/bttv-driver.c4
-rw-r--r--v4l/ChangeLog9
2 files changed, 11 insertions, 2 deletions
diff --git a/linux/drivers/media/video/bttv-driver.c b/linux/drivers/media/video/bttv-driver.c
index ff2705492..351848e61 100644
--- a/linux/drivers/media/video/bttv-driver.c
+++ b/linux/drivers/media/video/bttv-driver.c
@@ -1,5 +1,5 @@
/*
- $Id: bttv-driver.c,v 1.68 2005/11/10 12:40:42 mchehab Exp $
+ $Id: bttv-driver.c,v 1.69 2005/11/16 19:56:15 mchehab Exp $
bttv - Bt848 frame grabber driver
@@ -1879,7 +1879,7 @@ static int bttv_common_ioctls(struct bttv *btv, unsigned int cmd, void *arg)
}
case VIDIOC_LOG_STATUS:
{
- bttv_call_i2c_clients(btv, VIDIOC_LOG_STATUS, 0);
+ bttv_call_i2c_clients(btv, VIDIOC_LOG_STATUS, NULL);
return 0;
}
diff --git a/v4l/ChangeLog b/v4l/ChangeLog
index df7e67d22..6ff40faef 100644
--- a/v4l/ChangeLog
+++ b/v4l/ChangeLog
@@ -1,3 +1,12 @@
+2005-11-16 19:48 mchehab
+
+ * ../linux/drivers/media/video/bttv-driver.c: (bttv_common_ioctls):
+ - The patch below fixes the following sparse warning:
+ drivers/media/video/bttv-driver.c
+
+ Signed-off-by: Luiz Capitulino <lcapitulino@mandriva.com.br>
+ Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
+
2005-11-16 03:30 rmcc
* ../linux/drivers/media/video/saa7134/saa7134-alsa.c: