summaryrefslogtreecommitdiffstats
path: root/Documentation/media/uapi/mediactl/media-ioc-setup-link.rst
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@s-opensource.com>2016-08-19 16:59:55 -0300
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2016-08-22 21:23:52 -0300
commit5ccbb182d70561a49f84b42169d2dbc39e39aea2 (patch)
treeca5b83d6c59e65fb4c4df88ecfcf3513c3a14c5f /Documentation/media/uapi/mediactl/media-ioc-setup-link.rst
parent15c190146c5d1843d2eda0aac8be21d22c3ac431 (diff)
downloadop-kernel-dev-5ccbb182d70561a49f84b42169d2dbc39e39aea2.zip
op-kernel-dev-5ccbb182d70561a49f84b42169d2dbc39e39aea2.tar.gz
[media] docs-rst: Convert MC 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. While here, improve the documentation to make them to look more like the rest of the document. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'Documentation/media/uapi/mediactl/media-ioc-setup-link.rst')
-rw-r--r--Documentation/media/uapi/mediactl/media-ioc-setup-link.rst6
1 files changed, 2 insertions, 4 deletions
diff --git a/Documentation/media/uapi/mediactl/media-ioc-setup-link.rst b/Documentation/media/uapi/mediactl/media-ioc-setup-link.rst
index 10be4c5..35a189e 100644
--- a/Documentation/media/uapi/mediactl/media-ioc-setup-link.rst
+++ b/Documentation/media/uapi/mediactl/media-ioc-setup-link.rst
@@ -15,7 +15,8 @@ MEDIA_IOC_SETUP_LINK - Modify the properties of a link
Synopsis
========
-.. c:function:: int ioctl( int fd, int request, struct media_link_desc *argp )
+.. c:function:: int ioctl( int fd, MEDIA_IOC_SETUP_LINK, struct media_link_desc *argp )
+ :name: MEDIA_IOC_SETUP_LINK
Arguments
@@ -24,9 +25,6 @@ Arguments
``fd``
File descriptor returned by :ref:`open() <media-func-open>`.
-``request``
- MEDIA_IOC_SETUP_LINK
-
``argp``
OpenPOWER on IntegriCloud