summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/cx88/cx88-blackbird.c
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2006-06-18 21:54:20 +0200
committerHans Verkuil <hverkuil@xs4all.nl>2006-06-18 21:54:20 +0200
commit6cdc5db5eecbf7385e190aab3718ccfbdc981077 (patch)
treeac296b792c552eb9ba19184c7cf26617b34fb706 /linux/drivers/media/video/cx88/cx88-blackbird.c
parent523686db1e20dffeb8509a4092cb3d8f425ef930 (diff)
downloadmediapointer-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.c4
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:
{