From 48322faf20f97a8bbb774bd63689228a8ff20c26 Mon Sep 17 00:00:00 2001 From: Michael Hunold Date: Mon, 5 Jan 2004 18:37:28 +0000 Subject: - fix compiler warning - fix problems caused by changes in ioctl definitions --- linux/drivers/media/common/saa7146_video.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'linux/drivers/media/common/saa7146_video.c') 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; -- cgit v1.2.3