summaryrefslogtreecommitdiff
path: root/linux/drivers/media/common/saa7146_video.c
diff options
context:
space:
mode:
authorMichael Hunold <devnull@localhost>2004-01-05 18:37:28 +0000
committerMichael Hunold <devnull@localhost>2004-01-05 18:37:28 +0000
commit48322faf20f97a8bbb774bd63689228a8ff20c26 (patch)
treec5c8b323ece4eebe78f6ad87c00a42a68751da0c /linux/drivers/media/common/saa7146_video.c
parentaf775cd2887be0c964935d83debb2dd4d9926546 (diff)
downloadmediapointer-dvb-s2-48322faf20f97a8bbb774bd63689228a8ff20c26.tar.gz
mediapointer-dvb-s2-48322faf20f97a8bbb774bd63689228a8ff20c26.tar.bz2
- fix compiler warning
- fix problems caused by changes in ioctl definitions
Diffstat (limited to 'linux/drivers/media/common/saa7146_video.c')
-rw-r--r--linux/drivers/media/common/saa7146_video.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/linux/drivers/media/common/saa7146_video.c b/linux/drivers/media/common/saa7146_video.c
index 537f771ba..e4f83f42e 100644
--- a/linux/drivers/media/common/saa7146_video.c
+++ b/linux/drivers/media/common/saa7146_video.c
@@ -964,6 +964,7 @@ int saa7146_video_do_ioctl(struct inode *inode, struct file *file, unsigned int
return get_control(fh,arg);
}
case VIDIOC_S_CTRL:
+ case VIDIOC_S_CTRL_OLD:
{
DEB_EE(("VIDIOC_S_CTRL\n"));
down(&dev->lock);
@@ -1074,6 +1075,7 @@ int saa7146_video_do_ioctl(struct inode *inode, struct file *file, unsigned int
return 0;
}
case VIDIOC_OVERLAY:
+ case VIDIOC_OVERLAY_OLD:
{
int on = *(int *)arg;
int err = 0;