mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 19:51:31 -04:00
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 <[email protected]> Signed-off-by: Hans Verkuil <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
This commit is contained in:
parent
270c0024a3
commit
025b941132
1 changed files with 4 additions and 0 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in a new issue