summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@osg.samsung.com>2015-08-22 09:01:58 -0300
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2015-08-22 09:05:54 -0300
commitb6836a6fbc4b7e35679bf7bb8b54bad294ae0b10 (patch)
tree0cea3fc4c06594d8cafdb11fc59d8f5e47df7e59
parentd78757e780f1845dd5c9615169f7401c7d0d1a66 (diff)
[media] videobuf2-memops.h: add to device-drivers DocBook
The comment metadata was wrong: Warning(.//include/media/videobuf2-memops.h:25): cannot understand function prototype: 'struct vb2_vmarea_handler ' Warning(.//include/media/videobuf2-memops.h): no structured comments found Fix and add to DocBook. Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com> Acked-by: Jonathan Corbet <corbet@lwn.net>
-rw-r--r--Documentation/DocBook/device-drivers.tmpl2
-rw-r--r--include/media/videobuf2-memops.h3
2 files changed, 3 insertions, 2 deletions
diff --git a/Documentation/DocBook/device-drivers.tmpl b/Documentation/DocBook/device-drivers.tmpl
index e636bbd41933..8d1e04c94dce 100644
--- a/Documentation/DocBook/device-drivers.tmpl
+++ b/Documentation/DocBook/device-drivers.tmpl
@@ -235,9 +235,9 @@ X!Isound/sound_firmware.c
!Iinclude/media/v4l2-event.h
!Iinclude/media/v4l2-dv-timings.h
!Iinclude/media/videobuf2-core.h
+!Iinclude/media/videobuf2-memops.h
<!-- FIXME: Removed for now due to document generation inconsistency
X!Iinclude/media/v4l2-mediabus.h
-X!Iinclude/media/videobuf2-memops.h
-->
</chapter>
diff --git a/include/media/videobuf2-memops.h b/include/media/videobuf2-memops.h
index f05444ca8c0c..9f36641a6781 100644
--- a/include/media/videobuf2-memops.h
+++ b/include/media/videobuf2-memops.h
@@ -17,7 +17,8 @@
#include <media/videobuf2-core.h>
/**
- * vb2_vmarea_handler - common vma refcount tracking handler
+ * struct vb2_vmarea_handler - common vma refcount tracking handler
+ *
* @refcount: pointer to refcount entry in the buffer
* @put: callback to function that decreases buffer refcount
* @arg: argument for @put callback