summaryrefslogtreecommitdiff
path: root/Documentation/media/uapi/v4l/vidioc-enum-frameintervals.rst
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@s-opensource.com>2016-08-29 23:37:59 +0300
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2016-09-09 15:34:01 +0300
commite8be7e97e639af6f968473e5a598afbebc737b9c (patch)
treea33c38e32956ad127634eabb978f824ecbbb6c65 /Documentation/media/uapi/v4l/vidioc-enum-frameintervals.rst
parent2257e180101c910c2d93dd226ab1e500e4a6813c (diff)
downloadlinux-e8be7e97e639af6f968473e5a598afbebc737b9c.tar.xz
[media] docs-rst: convert uAPI structs to C domain
instead of declaring the uAPI structs using usual refs, e. g.: .. _foo-struct: Use the C domain way: .. c:type:: foo_struct This way, the kAPI documentation can use cross-references to point to the uAPI symbols. That solves about ~100 undefined warnings like: WARNING: c:type reference target not found: foo_struct Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'Documentation/media/uapi/v4l/vidioc-enum-frameintervals.rst')
-rw-r--r--Documentation/media/uapi/v4l/vidioc-enum-frameintervals.rst16
1 files changed, 8 insertions, 8 deletions
diff --git a/Documentation/media/uapi/v4l/vidioc-enum-frameintervals.rst b/Documentation/media/uapi/v4l/vidioc-enum-frameintervals.rst
index f9bb6fb4ca8e..07e94420c4c5 100644
--- a/Documentation/media/uapi/v4l/vidioc-enum-frameintervals.rst
+++ b/Documentation/media/uapi/v4l/vidioc-enum-frameintervals.rst
@@ -26,7 +26,7 @@ Arguments
File descriptor returned by :ref:`open() <func-open>`.
``argp``
- Pointer to a struct :ref:`v4l2_frmivalenum <v4l2-frmivalenum>`
+ Pointer to a struct :c:type:`v4l2_frmivalenum`
structure that contains a pixel format and size and receives a frame
interval.
@@ -101,7 +101,7 @@ the application, *OUT* denotes values that the driver fills in. The
application should zero out all members except for the *IN* fields.
-.. _v4l2-frmival-stepwise:
+.. c:type:: v4l2_frmival_stepwise
.. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.7cm}|
@@ -113,7 +113,7 @@ application should zero out all members except for the *IN* fields.
- .. row 1
- - struct :ref:`v4l2_fract <v4l2-fract>`
+ - struct :c:type:`v4l2_fract`
- ``min``
@@ -121,7 +121,7 @@ application should zero out all members except for the *IN* fields.
- .. row 2
- - struct :ref:`v4l2_fract <v4l2-fract>`
+ - struct :c:type:`v4l2_fract`
- ``max``
@@ -129,7 +129,7 @@ application should zero out all members except for the *IN* fields.
- .. row 3
- - struct :ref:`v4l2_fract <v4l2-fract>`
+ - struct :c:type:`v4l2_fract`
- ``step``
@@ -137,7 +137,7 @@ application should zero out all members except for the *IN* fields.
-.. _v4l2-frmivalenum:
+.. c:type:: v4l2_frmivalenum
.. flat-table:: struct v4l2_frmivalenum
:header-rows: 0
@@ -200,7 +200,7 @@ application should zero out all members except for the *IN* fields.
- .. row 7
-
- - struct :ref:`v4l2_fract <v4l2-fract>`
+ - struct :c:type:`v4l2_fract`
- ``discrete``
@@ -209,7 +209,7 @@ application should zero out all members except for the *IN* fields.
- .. row 8
-
- - struct :ref:`v4l2_frmival_stepwise <v4l2-frmival-stepwise>`
+ - struct :c:type:`v4l2_frmival_stepwise`
- ``stepwise``