From patchwork Mon Jul 4 11:46:25 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mauro Carvalho Chehab X-Patchwork-Id: 9212289 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id D5B7860572 for ; Mon, 4 Jul 2016 11:47:27 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C786E286DE for ; Mon, 4 Jul 2016 11:47:27 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id BB455286E2; Mon, 4 Jul 2016 11:47:27 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5F4A3286DE for ; Mon, 4 Jul 2016 11:47:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753590AbcGDLrY (ORCPT ); Mon, 4 Jul 2016 07:47:24 -0400 Received: from bombadil.infradead.org ([198.137.202.9]:44700 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753161AbcGDLrU (ORCPT ); Mon, 4 Jul 2016 07:47:20 -0400 Received: from 201.86.133.99.dynamic.adsl.gvt.net.br ([201.86.133.99] helo=smtp.w2.samsung.com) by bombadil.infradead.org with esmtpsa (Exim 4.85_2 #1 (Red Hat Linux)) id 1bK2LO-0005JU-DB; Mon, 04 Jul 2016 11:47:18 +0000 Received: from mchehab by smtp.w2.samsung.com with local (Exim 4.87) (envelope-from ) id 1bK2LK-0007j2-RA; Mon, 04 Jul 2016 08:47:14 -0300 From: Mauro Carvalho Chehab To: Linux Media Mailing List Cc: Mauro Carvalho Chehab , Mauro Carvalho Chehab , Jonathan Corbet , Markus Heiser , linux-doc@vger.kernel.org Subject: [PATCH 04/51] Documentation: querycap.rst: fix troubles on some references Date: Mon, 4 Jul 2016 08:46:25 -0300 Message-Id: X-Mailer: git-send-email 2.7.4 In-Reply-To: References: In-Reply-To: References: Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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. .. ------------------------------------------------------------------------------