media: docs: v4l2-controls: document file to include
authorLuca Ceresoli <luca@lucaceresoli.net>
Thu, 13 Jun 2019 14:18:25 +0000 (10:18 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Fri, 21 Jun 2019 21:05:18 +0000 (17:05 -0400)
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>
Documentation/media/kapi/v4l2-controls.rst

index 45541e05a0e72b4c3814715aba577728ef0e2d86..407617b1d0ceafc726111a851d40bdc7bcc98b06 100644 (file)
@@ -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: