From 8c1cc62a52e9d7b1289d4c6b0bbf2bcea7dd65e7 Mon Sep 17 00:00:00 2001 From: Mauro Carvalho Chehab Date: Tue, 5 Jul 2016 17:12:37 -0300 Subject: [PATCH] doc-rst: mediactl: fix some wrong cross references Those cross references should point to media control syscalls, and not to V4L ones. Signed-off-by: Mauro Carvalho Chehab --- Documentation/linux_tv/media/mediactl/media-func-close.rst | 2 +- Documentation/linux_tv/media/mediactl/media-func-ioctl.rst | 4 ++-- Documentation/linux_tv/media/mediactl/media-func-open.rst | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Documentation/linux_tv/media/mediactl/media-func-close.rst b/Documentation/linux_tv/media/mediactl/media-func-close.rst index 3f3d9bb1f32a..39ef70ac8656 100644 --- a/Documentation/linux_tv/media/mediactl/media-func-close.rst +++ b/Documentation/linux_tv/media/mediactl/media-func-close.rst @@ -40,7 +40,7 @@ are freed. The device configuration remain unchanged. Return Value ============ -:ref:`close() ` returns 0 on success. On error, -1 is returned, and +:ref:`close() ` returns 0 on success. On error, -1 is returned, and ``errno`` is set appropriately. Possible error codes are: EBADF diff --git a/Documentation/linux_tv/media/mediactl/media-func-ioctl.rst b/Documentation/linux_tv/media/mediactl/media-func-ioctl.rst index 1b28e2d20de4..9d1b23133edf 100644 --- a/Documentation/linux_tv/media/mediactl/media-func-ioctl.rst +++ b/Documentation/linux_tv/media/mediactl/media-func-ioctl.rst @@ -40,8 +40,8 @@ Arguments Description =========== -The :ref:`ioctl() ` function manipulates media device parameters. -The argument ``fd`` must be an open file descriptor. +The :ref:`ioctl() ` function manipulates media device +parameters. The argument ``fd`` must be an open file descriptor. The ioctl ``request`` code specifies the media function to be called. It has encoded in it whether the argument is an input, output or read/write diff --git a/Documentation/linux_tv/media/mediactl/media-func-open.rst b/Documentation/linux_tv/media/mediactl/media-func-open.rst index 43b9ddc5c38f..2b2ecd85b995 100644 --- a/Documentation/linux_tv/media/mediactl/media-func-open.rst +++ b/Documentation/linux_tv/media/mediactl/media-func-open.rst @@ -37,7 +37,7 @@ Arguments Description =========== -To open a media device applications call :ref:`open() ` with the +To open a media device applications call :ref:`open() ` with the desired device name. The function has no side effects; the device configuration remain unchanged. -- 2.34.1