From 9e00ffca8cc7ec71365ec4651196357f495dbe47 Mon Sep 17 00:00:00 2001 From: Mauro Carvalho Chehab Date: Thu, 30 Jun 2016 21:35:28 -0300 Subject: [PATCH] doc-rst: querycap: fix troubles on some references This is not due to the format change, but there are some wrong references on this file. Fix them. Signed-off-by: Mauro Carvalho Chehab --- Documentation/linux_tv/media/v4l/querycap.rst | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Documentation/linux_tv/media/v4l/querycap.rst b/Documentation/linux_tv/media/v4l/querycap.rst index 2568820a3954..ce0c0e3f9b53 100644 --- a/Documentation/linux_tv/media/v4l/querycap.rst +++ b/Documentation/linux_tv/media/v4l/querycap.rst @@ -16,9 +16,9 @@ check if the kernel device is compatible with this specification, and to query the :ref:`functions ` and :ref:`I/O methods ` supported by the device. -Starting with kernel version 3.1, VIDIOC-QUERYCAP will return the V4L2 -API version used by the driver, with generally matches the Kernel -version. There's no need of using +Starting with kernel version 3.1, :ref:`VIDIOC_QUERYCAP ` +will return the V4L2 API version used by the driver, with generally +matches the Kernel version. There's no need of using :ref:`VIDIOC_QUERYCAP ` to check if a specific ioctl is supported, the V4L2 core now returns ENOTTY if a driver doesn't provide support for an ioctl. @@ -30,8 +30,8 @@ abstraction is a major objective of this API, the :ref:`VIDIOC_QUERYCAP ` ioctl also allows driver specific applications to reliably identify the driver. -All V4L2 drivers must support ``VIDIOC_QUERYCAP``. Applications should -always call this ioctl after opening the device. +All V4L2 drivers must support :ref:`VIDIOC_QUERYCAP `. +Applications should always call this ioctl after opening the device. .. ------------------------------------------------------------------------------ -- 2.39.5