aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/videodev.c
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2006-06-18 15:54:20 -0400
committerMauro Carvalho Chehab <mchehab@infradead.org>2006-06-25 01:05:23 -0400
commitf81cf7533b4b8411a0d2fa943adcede340dfdab6 (patch)
tree0274c8adcd34b8a074dfcf3cffceb2267cafa85b /drivers/media/video/videodev.c
parent86b79d662453b0f0107d03cc939dd737d6076436 (diff)
V4L/DVB (4198): Avoid newer usages of obsoleted experimental MPEGCOMP API
Put old MPEGCOMP API under #if __KERNEL__ and issue warnings when used. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/videodev.c')
-rw-r--r--drivers/media/video/videodev.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/video/videodev.c b/drivers/media/video/videodev.c
index 763e178555d0..2dfa7f23d0ca 100644
--- a/drivers/media/video/videodev.c
+++ b/drivers/media/video/videodev.c
@@ -1216,6 +1216,7 @@ static int __video_do_ioctl(struct inode *inode, struct file *file,
1216 case VIDIOC_G_MPEGCOMP: 1216 case VIDIOC_G_MPEGCOMP:
1217 { 1217 {
1218 struct v4l2_mpeg_compression *p=arg; 1218 struct v4l2_mpeg_compression *p=arg;
1219
1219 /*FIXME: Several fields not shown */ 1220 /*FIXME: Several fields not shown */
1220 if (!vfd->vidioc_g_mpegcomp) 1221 if (!vfd->vidioc_g_mpegcomp)
1221 break; 1222 break;