1
0
Fork 0

[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>
hifive-unleashed-5.1
Mauro Carvalho Chehab 2015-08-22 09:01:58 -03:00
parent d78757e780
commit b6836a6fbc
2 changed files with 3 additions and 2 deletions

View File

@ -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>

View File

@ -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