summaryrefslogtreecommitdiffstats
path: root/Documentation/media
diff options
context:
space:
mode:
authorLuca Ceresoli <luca@lucaceresoli.net>2019-06-13 10:18:25 -0400
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>2019-06-21 17:05:18 -0400
commit025b941132352c6093cbb3a1f6760426e739dc79 (patch)
tree0bd062a6c7f37185bc4befed659156e0c815c7d1 /Documentation/media
parent270c0024a368806a84a7e15d6024cbd232752c04 (diff)
downloadlinux-025b941132352c6093cbb3a1f6760426e739dc79.tar.bz2
media: docs: v4l2-controls: document file to include
The tutorial in this section is almost complete, add the one missing bit. Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'Documentation/media')
-rw-r--r--Documentation/media/kapi/v4l2-controls.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/Documentation/media/kapi/v4l2-controls.rst b/Documentation/media/kapi/v4l2-controls.rst
index 45541e05a0e7..407617b1d0ce 100644
--- a/Documentation/media/kapi/v4l2-controls.rst
+++ b/Documentation/media/kapi/v4l2-controls.rst
@@ -50,6 +50,10 @@ Basic usage for V4L2 and sub-device drivers
1) Prepare the driver:
+.. code-block:: c
+
+ #include <media/v4l2-ctrls.h>
+
1.1) Add the handler to your driver's top-level struct:
For V4L2 drivers: