aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/pvrusb2/pvrusb2-v4l2.c
diff options
context:
space:
mode:
authorMike Isely <isely@pobox.com>2009-03-08 18:14:07 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-03-30 11:43:39 -0400
commitdefeb0b94b6acf929e82b66dbc1fcb48b9204c70 (patch)
tree3e1e89747100d2aef9e71dd9210487d2b3a667a9 /drivers/media/video/pvrusb2/pvrusb2-v4l2.c
parent5a3bab8eb02f9413b802540530ea390d8d063e43 (diff)
V4L/DVB (11205): pvrusb2: Remove ancient IVTV specific ioctl functions
Remove ancient IVTV_IOC_G_CODEC and IVTV_IOC_S_CODEC ioctl functions from the pvrusb2 driver. These are very very old, were non-standard, and were only present to keep MythTV happy (their implementation did nothing except to report success). That was long ago; no recent versions of MythTV should require this anymore. Signed-off-by: Mike Isely <isely@pobox.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/pvrusb2/pvrusb2-v4l2.c')
-rw-r--r--drivers/media/video/pvrusb2/pvrusb2-v4l2.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/media/video/pvrusb2/pvrusb2-v4l2.c b/drivers/media/video/pvrusb2/pvrusb2-v4l2.c
index b7caf135ed55..9e0f2b07b93b 100644
--- a/drivers/media/video/pvrusb2/pvrusb2-v4l2.c
+++ b/drivers/media/video/pvrusb2/pvrusb2-v4l2.c
@@ -952,10 +952,6 @@ static long pvr2_v4l2_ioctl(struct file *file,
952 unsigned int cmd, unsigned long arg) 952 unsigned int cmd, unsigned long arg)
953{ 953{
954 954
955/* Temporary hack : use ivtv api until a v4l2 one is available. */
956#define IVTV_IOC_G_CODEC 0xFFEE7703
957#define IVTV_IOC_S_CODEC 0xFFEE7704
958 if (cmd == IVTV_IOC_G_CODEC || cmd == IVTV_IOC_S_CODEC) return 0;
959 return video_usercopy(file, cmd, arg, pvr2_v4l2_do_ioctl); 955 return video_usercopy(file, cmd, arg, pvr2_v4l2_do_ioctl);
960} 956}
961 957