diff options
author | Luca Ceresoli <luca@lucaceresoli.net> | 2019-06-13 16:18:25 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2019-06-21 23:05:18 +0200 |
commit | 025b941132352c6093cbb3a1f6760426e739dc79 (patch) | |
tree | 0bd062a6c7f37185bc4befed659156e0c815c7d1 /Documentation/media | |
parent | media: docs: v4l2-controls: convert code blocks to C (diff) | |
download | linux-025b941132352c6093cbb3a1f6760426e739dc79.tar.xz linux-025b941132352c6093cbb3a1f6760426e739dc79.zip |
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.rst | 4 |
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: |