aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/zc0301
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2006-06-04 08:11:13 -0400
committerMauro Carvalho Chehab <mchehab@infradead.org>2006-06-25 01:05:04 -0400
commit7565ab082de88ec274283d6b83980144e520a2fc (patch)
treefe822a6824e542cc1231a9d8b85600bebc07c35d /drivers/media/video/zc0301
parentdd00b1e02081b4b543dac3619cc9c7f26c4bced4 (diff)
V4L/DVB (4064): No drivers should use VIDIOC_*_OLD
V4L core functions handle VIDIOC_*_OLD older ioctls. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/zc0301')
-rw-r--r--drivers/media/video/zc0301/zc0301_core.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/media/video/zc0301/zc0301_core.c b/drivers/media/video/zc0301/zc0301_core.c
index 2b5ce2d79c00..1b2be2d2a3ec 100644
--- a/drivers/media/video/zc0301/zc0301_core.c
+++ b/drivers/media/video/zc0301/zc0301_core.c
@@ -1773,11 +1773,9 @@ static int zc0301_ioctl_v4l2(struct inode* inode, struct file* filp,
1773 case VIDIOC_G_CTRL: 1773 case VIDIOC_G_CTRL:
1774 return zc0301_vidioc_g_ctrl(cam, arg); 1774 return zc0301_vidioc_g_ctrl(cam, arg);
1775 1775
1776 case VIDIOC_S_CTRL_OLD:
1777 case VIDIOC_S_CTRL: 1776 case VIDIOC_S_CTRL:
1778 return zc0301_vidioc_s_ctrl(cam, arg); 1777 return zc0301_vidioc_s_ctrl(cam, arg);
1779 1778
1780 case VIDIOC_CROPCAP_OLD:
1781 case VIDIOC_CROPCAP: 1779 case VIDIOC_CROPCAP:
1782 return zc0301_vidioc_cropcap(cam, arg); 1780 return zc0301_vidioc_cropcap(cam, arg);
1783 1781
@@ -1824,7 +1822,6 @@ static int zc0301_ioctl_v4l2(struct inode* inode, struct file* filp,
1824 case VIDIOC_G_PARM: 1822 case VIDIOC_G_PARM:
1825 return zc0301_vidioc_g_parm(cam, arg); 1823 return zc0301_vidioc_g_parm(cam, arg);
1826 1824
1827 case VIDIOC_S_PARM_OLD:
1828 case VIDIOC_S_PARM: 1825 case VIDIOC_S_PARM:
1829 return zc0301_vidioc_s_parm(cam, arg); 1826 return zc0301_vidioc_s_parm(cam, arg);
1830 1827