diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2008-12-21 08:35:25 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2008-12-30 06:39:22 -0500 |
commit | 92f45badbbaccdbc1be25085292a1e258948e221 (patch) | |
tree | 8ef5a0ea174e0661fdd96da509096ebcf161df84 /include | |
parent | b6070f0756fe1bccda1c8c67a6bfdfa51022b664 (diff) |
V4L/DVB (9932): v4l2-compat32: fix 32-64 compatibility module
Added all missing v4l1/2 ioctls and fix several broken conversions.
Partially based on work done by Cody Pisto <cpisto@gmail.com>.
Tested-by: Brandon Jenkins <bcjenkins@tvwhere.com>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/videodev2.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/videodev2.h b/include/linux/videodev2.h index 6e6743bd0f92..e2cfd6add78c 100644 --- a/include/linux/videodev2.h +++ b/include/linux/videodev2.h | |||
@@ -1465,6 +1465,8 @@ struct v4l2_chip_ident { | |||
1465 | #define VIDIOC_G_CHIP_IDENT _IOWR('V', 81, struct v4l2_chip_ident) | 1465 | #define VIDIOC_G_CHIP_IDENT _IOWR('V', 81, struct v4l2_chip_ident) |
1466 | #endif | 1466 | #endif |
1467 | #define VIDIOC_S_HW_FREQ_SEEK _IOW('V', 82, struct v4l2_hw_freq_seek) | 1467 | #define VIDIOC_S_HW_FREQ_SEEK _IOW('V', 82, struct v4l2_hw_freq_seek) |
1468 | /* Reminder: when adding new ioctls please add support for them to | ||
1469 | drivers/media/video/v4l2-compat-ioctl32.c as well! */ | ||
1468 | 1470 | ||
1469 | #ifdef __OLD_VIDIOC_ | 1471 | #ifdef __OLD_VIDIOC_ |
1470 | /* for compatibility, will go away some day */ | 1472 | /* for compatibility, will go away some day */ |