aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/cx88
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2010-12-24 08:33:19 -0500
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-12-29 05:17:07 -0500
commit08af245de0cf6ab5f4ed008ee2bb99273774fce0 (patch)
treed07a9b38eb4b9442ef0e935063a5f7f40248e19e /drivers/media/video/cx88
parentb69a219e0e97441dbeb0262cf85468b61a161399 (diff)
[media] V4L: remove V4L1 compatibility mode
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/cx88')
-rw-r--r--drivers/media/video/cx88/cx88-video.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/drivers/media/video/cx88/cx88-video.c b/drivers/media/video/cx88/cx88-video.c
index 62cea9549404..9a37b839c67c 100644
--- a/drivers/media/video/cx88/cx88-video.c
+++ b/drivers/media/video/cx88/cx88-video.c
@@ -1179,15 +1179,6 @@ static int vidioc_enum_fmt_vid_cap (struct file *file, void *priv,
1179 return 0; 1179 return 0;
1180} 1180}
1181 1181
1182#ifdef CONFIG_VIDEO_V4L1_COMPAT
1183static int vidiocgmbuf (struct file *file, void *priv, struct video_mbuf *mbuf)
1184{
1185 struct cx8800_fh *fh = priv;
1186
1187 return videobuf_cgmbuf (get_queue(fh), mbuf, 8);
1188}
1189#endif
1190
1191static int vidioc_reqbufs (struct file *file, void *priv, struct v4l2_requestbuffers *p) 1182static int vidioc_reqbufs (struct file *file, void *priv, struct v4l2_requestbuffers *p)
1192{ 1183{
1193 struct cx8800_fh *fh = priv; 1184 struct cx8800_fh *fh = priv;
@@ -1731,9 +1722,6 @@ static const struct v4l2_ioctl_ops video_ioctl_ops = {
1731 .vidioc_s_ctrl = vidioc_s_ctrl, 1722 .vidioc_s_ctrl = vidioc_s_ctrl,
1732 .vidioc_streamon = vidioc_streamon, 1723 .vidioc_streamon = vidioc_streamon,
1733 .vidioc_streamoff = vidioc_streamoff, 1724 .vidioc_streamoff = vidioc_streamoff,
1734#ifdef CONFIG_VIDEO_V4L1_COMPAT
1735 .vidiocgmbuf = vidiocgmbuf,
1736#endif
1737 .vidioc_g_tuner = vidioc_g_tuner, 1725 .vidioc_g_tuner = vidioc_g_tuner,
1738 .vidioc_s_tuner = vidioc_s_tuner, 1726 .vidioc_s_tuner = vidioc_s_tuner,
1739 .vidioc_g_frequency = vidioc_g_frequency, 1727 .vidioc_g_frequency = vidioc_g_frequency,