[PATCH v2 5/5] media: vimc.rst: add vimc-streamer source documentation
From: Andrà Almeida
Date: Mon Jun 24 2019 - 08:39:53 EST
Since vimc-streamer.{c, h} are fully documented and conforming with the
kernel-doc syntax, add those files to vimc.rst
Signed-off-by: Andrà Almeida <andrealmeid@xxxxxxxxxxxxx>
Suggested-by: Mauro Carvalho Chehab <mchehab+samsung@xxxxxxxxxx>
---
Changes in v2: none
Documentation/media/v4l-drivers/vimc.rst | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/Documentation/media/v4l-drivers/vimc.rst b/Documentation/media/v4l-drivers/vimc.rst
index bece85867424..406417680db5 100644
--- a/Documentation/media/v4l-drivers/vimc.rst
+++ b/Documentation/media/v4l-drivers/vimc.rst
@@ -96,3 +96,14 @@ those arguments to each subdevice, not to the vimc module. For example::
Window size to calculate the mean. Note: the window size needs to be an
odd number, as the main pixel stays in the center of the window,
otherwise the next odd number is considered (the default value is 3).
+
+Source code documentation
+-------------------------
+
+vimc-streamer
+~~~~~~~~~~~~~
+
+.. kernel-doc:: drivers/media/platform/vimc/vimc-streamer.h
+ :internal:
+
+.. kernel-doc:: drivers/media/platform/vimc/vimc-streamer.c
--
2.22.0