summaryrefslogtreecommitdiff
path: root/Documentation/media/kapi/v4l2-dev.rst
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@s-opensource.com>2016-07-22 10:15:42 -0300
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2016-07-23 08:04:21 -0300
commitf6fa883bb733376b2ac1c4772cce5b4316ab693f (patch)
tree7c72964dd5e69b5563714d92256f8fcf92816684 /Documentation/media/kapi/v4l2-dev.rst
parentf4a6bdd1f36f940411b20fb3f615faa4127174a2 (diff)
[media] doc-rst: reorganize the kAPI v4l2 chapters
Reorganize the order of the document, putting the chapters on a more logical order and renaming some sections. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'Documentation/media/kapi/v4l2-dev.rst')
-rw-r--r--Documentation/media/kapi/v4l2-dev.rst12
1 files changed, 6 insertions, 6 deletions
diff --git a/Documentation/media/kapi/v4l2-dev.rst b/Documentation/media/kapi/v4l2-dev.rst
index 306306d8a43d..b03f9b33ad93 100644
--- a/Documentation/media/kapi/v4l2-dev.rst
+++ b/Documentation/media/kapi/v4l2-dev.rst
@@ -1,5 +1,5 @@
-Video device creation
-=====================
+Video device' s internal representation
+=======================================
The actual device nodes in the ``/dev`` directory are created using the
:c:type:`video_device` struct (``v4l2-dev.h``). This struct can either be
@@ -309,8 +309,8 @@ it has been initialized:
This can be done from the release callback.
-video_device helper functions
------------------------------
+helper functions
+----------------
There are a few useful helper functions:
@@ -357,7 +357,7 @@ The name is used as a hint by userspace tools such as udev. The function
should be used where possible instead of accessing the video_device::num and
video_device::minor fields.
-video_device kAPI
------------------
+video_device functions and data structures
+------------------------------------------
.. kernel-doc:: include/media/v4l2-dev.h