From: Luca Ceresoli Date: Thu, 13 Jun 2019 14:18:25 +0000 (-0400) Subject: media: docs: v4l2-controls: document file to include X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=025b941132352c6093cbb3a1f6760426e739dc79;p=openwrt%2Fstaging%2Fblogic.git 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 Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab --- 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 + 1.1) Add the handler to your driver's top-level struct: For V4L2 drivers: