mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-04-19 12:03:56 -04:00
media: docs: make RC documents more compatible with Sphinx 3.1+
Sphinx 3.x broke support for the cdomain.py extension, as the c domain code was rewritten. Due to that, the c tags need to be re-written, in order to use the new c domain notation. Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
|
||||
.. c:namespace:: RC
|
||||
|
||||
.. _lirc_get_min_timeout:
|
||||
.. _lirc_get_max_timeout:
|
||||
@@ -16,11 +17,13 @@ range for IR receive.
|
||||
Synopsis
|
||||
========
|
||||
|
||||
.. c:function:: int ioctl( int fd, LIRC_GET_MIN_TIMEOUT, __u32 *timeout)
|
||||
:name: LIRC_GET_MIN_TIMEOUT
|
||||
.. c:macro:: LIRC_GET_MIN_TIMEOUT
|
||||
|
||||
.. c:function:: int ioctl( int fd, LIRC_GET_MAX_TIMEOUT, __u32 *timeout)
|
||||
:name: LIRC_GET_MAX_TIMEOUT
|
||||
``int ioctl(int fd, LIRC_GET_MIN_TIMEOUT, __u32 *timeout)``
|
||||
|
||||
.. c:macro:: LIRC_GET_MAX_TIMEOUT
|
||||
|
||||
``int ioctl(int fd, LIRC_GET_MAX_TIMEOUT, __u32 *timeout)``
|
||||
|
||||
Arguments
|
||||
=========
|
||||
@@ -31,7 +34,6 @@ Arguments
|
||||
``timeout``
|
||||
Timeout, in microseconds.
|
||||
|
||||
|
||||
Description
|
||||
===========
|
||||
|
||||
@@ -47,7 +49,6 @@ that can be set.
|
||||
both ioctls will return the same value even though the timeout
|
||||
cannot be changed via :ref:`LIRC_SET_REC_TIMEOUT`.
|
||||
|
||||
|
||||
Return Value
|
||||
============
|
||||
|
||||
|
||||
Reference in New Issue
Block a user