aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media
diff options
context:
space:
mode:
authorSteven Walter <stevenrwalter@gmail.com>2007-08-09 10:36:35 -0400
committerMauro Carvalho Chehab <mchehab@infradead.org>2007-10-09 21:04:45 -0400
commit7963fa48dafd07a8c6b6007fb038095553ad6a0f (patch)
tree44223b758ec8b0a6b5717776cd54de5a911e5488 /drivers/media
parent4ebcb48da1eace49ef5f2d83a91984085c6d702d (diff)
V4L/DVB (5989): V4L: Add additional ioctls to compat_ioctl32
With the addition of these ioctls, I'm able to watch TV with a 32-bit version of tvtime on x86_64. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media')
-rw-r--r--drivers/media/video/compat_ioctl32.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/media/video/compat_ioctl32.c b/drivers/media/video/compat_ioctl32.c
index f065ad12cc61..cefd1381e8de 100644
--- a/drivers/media/video/compat_ioctl32.c
+++ b/drivers/media/video/compat_ioctl32.c
@@ -848,6 +848,8 @@ long v4l_compat_ioctl32(struct file *file, unsigned int cmd, unsigned long arg)
848 case VIDIOCSFREQ32: 848 case VIDIOCSFREQ32:
849 case VIDIOCGAUDIO: 849 case VIDIOCGAUDIO:
850 case VIDIOCSAUDIO: 850 case VIDIOCSAUDIO:
851 case VIDIOCGVBIFMT:
852 case VIDIOCSVBIFMT:
851#endif 853#endif
852 case VIDIOC_QUERYCAP: 854 case VIDIOC_QUERYCAP:
853 case VIDIOC_ENUM_FMT: 855 case VIDIOC_ENUM_FMT:
@@ -874,7 +876,10 @@ long v4l_compat_ioctl32(struct file *file, unsigned int cmd, unsigned long arg)
874 case VIDIOC_ENUMINPUT: 876 case VIDIOC_ENUMINPUT:
875 case VIDIOC_ENUMINPUT32: 877 case VIDIOC_ENUMINPUT32:
876 case VIDIOC_G_CTRL: 878 case VIDIOC_G_CTRL:
879 case VIDIOC_S_CTRL:
877 case VIDIOC_S_CTRL32: 880 case VIDIOC_S_CTRL32:
881 case VIDIOC_S_FREQUENCY:
882 case VIDIOC_G_FREQUENCY:
878 case VIDIOC_QUERYCTRL: 883 case VIDIOC_QUERYCTRL:
879 case VIDIOC_G_INPUT32: 884 case VIDIOC_G_INPUT32:
880 case VIDIOC_S_INPUT32: 885 case VIDIOC_S_INPUT32: