summaryrefslogtreecommitdiffstats
path: root/Documentation/media/uapi/v4l/vidioc-subscribe-event.rst
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@s-opensource.com>2016-08-19 21:53:38 +0200
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2016-08-23 02:23:27 +0200
commit41d804653ec8aaee432bfd9a78f4c0e24553f5ab (patch)
tree2fd0020cf5b0b6d4baaaf8cbbd4a2b1483bf8996 /Documentation/media/uapi/v4l/vidioc-subscribe-event.rst
parent[media] docs-next: stop abusing on the cpp domain (diff)
downloadlinux-41d804653ec8aaee432bfd9a78f4c0e24553f5ab.tar.xz
linux-41d804653ec8aaee432bfd9a78f4c0e24553f5ab.zip
[media] docs-rst: Convert V4L2 uAPI to use C function references
Name all ioctl references and make them match the ioctls that are documented. That will improve the cross-reference index, as it will have all ioctls and syscalls there. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'Documentation/media/uapi/v4l/vidioc-subscribe-event.rst')
-rw-r--r--Documentation/media/uapi/v4l/vidioc-subscribe-event.rst9
1 files changed, 5 insertions, 4 deletions
diff --git a/Documentation/media/uapi/v4l/vidioc-subscribe-event.rst b/Documentation/media/uapi/v4l/vidioc-subscribe-event.rst
index 7015bb283a6a..04eee095952b 100644
--- a/Documentation/media/uapi/v4l/vidioc-subscribe-event.rst
+++ b/Documentation/media/uapi/v4l/vidioc-subscribe-event.rst
@@ -16,7 +16,11 @@ VIDIOC_SUBSCRIBE_EVENT - VIDIOC_UNSUBSCRIBE_EVENT - Subscribe or unsubscribe eve
Synopsis
========
-.. c:function:: int ioctl( int fd, int request, struct v4l2_event_subscription *argp )
+.. c:function:: int ioctl( int fd, VIDIOC_SUBSCRIBE_EVENT, struct v4l2_event_subscription *argp )
+ :name: VIDIOC_SUBSCRIBE_EVENT
+
+.. c:function:: int ioctl( int fd, VIDIOC_UNSUBSCRIBE_EVENT, struct v4l2_event_subscription *argp )
+ :name: VIDIOC_UNSUBSCRIBE_EVENT
Arguments
@@ -25,9 +29,6 @@ Arguments
``fd``
File descriptor returned by :ref:`open() <func-open>`.
-``request``
- VIDIOC_SUBSCRIBE_EVENT, VIDIOC_UNSUBSCRIBE_EVENT
-
``argp``