summaryrefslogtreecommitdiffstats
path: root/Documentation/media/kapi/v4l2-device.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-device.rst
parentf4a6bdd1f36f940411b20fb3f615faa4127174a2 (diff)
downloadlinux-f6fa883bb733376b2ac1c4772cce5b4316ab693f.tar.gz
linux-f6fa883bb733376b2ac1c4772cce5b4316ab693f.tar.bz2
linux-f6fa883bb733376b2ac1c4772cce5b4316ab693f.zip
[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-device.rst')
-rw-r--r--Documentation/media/kapi/v4l2-device.rst8
1 files changed, 4 insertions, 4 deletions
diff --git a/Documentation/media/kapi/v4l2-device.rst b/Documentation/media/kapi/v4l2-device.rst
index 8e275d0ff0f5..c9115bcd8a9d 100644
--- a/Documentation/media/kapi/v4l2-device.rst
+++ b/Documentation/media/kapi/v4l2-device.rst
@@ -1,5 +1,5 @@
-V4L2 Device register logic
---------------------------
+V4L2 device instance
+--------------------
Each device instance is represented by a struct :c:type:`v4l2_device`.
Very simple devices can just allocate this struct, but most of the time you
@@ -138,7 +138,7 @@ Since the initial refcount is 1 you also need to call
or in the ``remove()`` callback (for e.g. PCI devices), otherwise the refcount
will never reach 0.
-V4L2 device kAPI
-^^^^^^^^^^^^^^^^
+v4l2_device functions and data structures
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. kernel-doc:: include/media/v4l2-device.h