diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2006-06-18 21:54:20 +0200 |
---|---|---|
committer | Hans Verkuil <hverkuil@xs4all.nl> | 2006-06-18 21:54:20 +0200 |
commit | 6cdc5db5eecbf7385e190aab3718ccfbdc981077 (patch) | |
tree | ac296b792c552eb9ba19184c7cf26617b34fb706 /linux/drivers/media/video/cx88/cx88-blackbird.c | |
parent | 523686db1e20dffeb8509a4092cb3d8f425ef930 (diff) | |
download | mediapointer-dvb-s2-6cdc5db5eecbf7385e190aab3718ccfbdc981077.tar.gz mediapointer-dvb-s2-6cdc5db5eecbf7385e190aab3718ccfbdc981077.tar.bz2 |
Put old MPEGCOMP API under #if __KERNEL__ and issue warnings when used.
From: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Diffstat (limited to 'linux/drivers/media/video/cx88/cx88-blackbird.c')
-rw-r--r-- | linux/drivers/media/video/cx88/cx88-blackbird.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/linux/drivers/media/video/cx88/cx88-blackbird.c b/linux/drivers/media/video/cx88/cx88-blackbird.c index cad6f4a92..1a86d337f 100644 --- a/linux/drivers/media/video/cx88/cx88-blackbird.c +++ b/linux/drivers/media/video/cx88/cx88-blackbird.c @@ -838,10 +838,14 @@ static int mpeg_do_ioctl(struct inode *inode, struct file *file, { struct v4l2_mpeg_compression *f = arg; + printk(KERN_WARNING "VIDIOC_G_MPEGCOMP is obsolete. " + "Replace with VIDIOC_G_EXT_CTRLS!"); memcpy(f,&default_mpeg_params,sizeof(*f)); return 0; } case VIDIOC_S_MPEGCOMP: + printk(KERN_WARNING "VIDIOC_S_MPEGCOMP is obsolete. " + "Replace with VIDIOC_S_EXT_CTRLS!"); return 0; case VIDIOC_G_EXT_CTRLS: { |