diff options
| author | Hans Verkuil <hverkuil@xs4all.nl> | 2011-02-05 08:10:38 -0500 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-03-21 19:32:12 -0400 |
| commit | 7ee40aadabd59b6cab60835f0ef9cdbe385df438 (patch) | |
| tree | 61e8856b6c2d159f489ec0147bedb190ac951fcf /include/linux | |
| parent | dae86ccbc3c185aebfc396e8e668aa3d73d748d8 (diff) | |
[media] v4l: removal of old, obsolete ioctls
Some ioctl's were defined wrong on 2.6.2 and 2.6.6, using the wrong
type of R/W arguments. They were fixed, but the old ioctl names are
still there, maintained to avoid breaking binary compatibility:
There's no sense on preserving those forever, as it is very doubtful
that someone would try to use a such old binary with a modern kernel.
Removing them will allow us to remove some magic done at the V4L ioctl
handler.
Note that any application compiled with a videodev2.h from 2.6.7 or later
will be using the correct ioctls.
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/videodev2.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/include/linux/videodev2.h b/include/linux/videodev2.h index 5122b265dde6..a94c4d5ac340 100644 --- a/include/linux/videodev2.h +++ b/include/linux/videodev2.h | |||
| @@ -1935,16 +1935,6 @@ struct v4l2_dbg_chip_ident { | |||
| 1935 | /* Reminder: when adding new ioctls please add support for them to | 1935 | /* Reminder: when adding new ioctls please add support for them to |
| 1936 | drivers/media/video/v4l2-compat-ioctl32.c as well! */ | 1936 | drivers/media/video/v4l2-compat-ioctl32.c as well! */ |
| 1937 | 1937 | ||
| 1938 | #ifdef __OLD_VIDIOC_ | ||
| 1939 | /* for compatibility, will go away some day */ | ||
| 1940 | #define VIDIOC_OVERLAY_OLD _IOWR('V', 14, int) | ||
| 1941 | #define VIDIOC_S_PARM_OLD _IOW('V', 22, struct v4l2_streamparm) | ||
| 1942 | #define VIDIOC_S_CTRL_OLD _IOW('V', 28, struct v4l2_control) | ||
| 1943 | #define VIDIOC_G_AUDIO_OLD _IOWR('V', 33, struct v4l2_audio) | ||
| 1944 | #define VIDIOC_G_AUDOUT_OLD _IOWR('V', 49, struct v4l2_audioout) | ||
| 1945 | #define VIDIOC_CROPCAP_OLD _IOR('V', 58, struct v4l2_cropcap) | ||
| 1946 | #endif | ||
| 1947 | |||
| 1948 | #define BASE_VIDIOC_PRIVATE 192 /* 192-255 are private */ | 1938 | #define BASE_VIDIOC_PRIVATE 192 /* 192-255 are private */ |
| 1949 | 1939 | ||
| 1950 | #endif /* __LINUX_VIDEODEV2_H */ | 1940 | #endif /* __LINUX_VIDEODEV2_H */ |
