aboutsummaryrefslogtreecommitdiffstats
path: root/include/uapi
diff options
context:
space:
mode:
authorHans Verkuil <hans.verkuil@cisco.com>2013-04-06 05:16:58 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2013-04-14 18:47:33 -0400
commit96b03d2a3078d5e95a8b106634faa7cea88ebe5e (patch)
tree22f781d017cf9f27fa61a8577d896993a1e82f08 /include/uapi
parent0f0fe4b9f6f32b90c82345b97da2977b84e14414 (diff)
[media] v4l2: rename VIDIOC_DBG_G_CHIP_NAME to _CHIP_INFO
This ioctl will be extended to return more information than just the name. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'include/uapi')
-rw-r--r--include/uapi/linux/videodev2.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/uapi/linux/videodev2.h b/include/uapi/linux/videodev2.h
index 4c941c103c44..be43b4659527 100644
--- a/include/uapi/linux/videodev2.h
+++ b/include/uapi/linux/videodev2.h
@@ -1839,8 +1839,8 @@ struct v4l2_dbg_chip_ident {
1839#define V4L2_CHIP_FL_READABLE (1 << 0) 1839#define V4L2_CHIP_FL_READABLE (1 << 0)
1840#define V4L2_CHIP_FL_WRITABLE (1 << 1) 1840#define V4L2_CHIP_FL_WRITABLE (1 << 1)
1841 1841
1842/* VIDIOC_DBG_G_CHIP_NAME */ 1842/* VIDIOC_DBG_G_CHIP_INFO */
1843struct v4l2_dbg_chip_name { 1843struct v4l2_dbg_chip_info {
1844 struct v4l2_dbg_match match; 1844 struct v4l2_dbg_match match;
1845 char name[32]; 1845 char name[32];
1846 __u32 flags; 1846 __u32 flags;
@@ -1938,7 +1938,7 @@ struct v4l2_create_buffers {
1938 1938
1939/* Experimental, meant for debugging, testing and internal use. 1939/* Experimental, meant for debugging, testing and internal use.
1940 Never use this ioctl in applications! 1940 Never use this ioctl in applications!
1941 Note: this ioctl is deprecated in favor of VIDIOC_DBG_G_CHIP_NAME and 1941 Note: this ioctl is deprecated in favor of VIDIOC_DBG_G_CHIP_INFO and
1942 will go away in the future. */ 1942 will go away in the future. */
1943#define VIDIOC_DBG_G_CHIP_IDENT _IOWR('V', 81, struct v4l2_dbg_chip_ident) 1943#define VIDIOC_DBG_G_CHIP_IDENT _IOWR('V', 81, struct v4l2_dbg_chip_ident)
1944 1944
@@ -1976,7 +1976,7 @@ struct v4l2_create_buffers {
1976 1976
1977/* Experimental, meant for debugging, testing and internal use. 1977/* Experimental, meant for debugging, testing and internal use.
1978 Never use these in applications! */ 1978 Never use these in applications! */
1979#define VIDIOC_DBG_G_CHIP_NAME _IOWR('V', 102, struct v4l2_dbg_chip_name) 1979#define VIDIOC_DBG_G_CHIP_INFO _IOWR('V', 102, struct v4l2_dbg_chip_info)
1980 1980
1981/* Reminder: when adding new ioctls please add support for them to 1981/* Reminder: when adding new ioctls please add support for them to
1982 drivers/media/video/v4l2-compat-ioctl32.c as well! */ 1982 drivers/media/video/v4l2-compat-ioctl32.c as well! */