Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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

+3 -2
+1 -1
Documentation/DocBook/device-drivers.tmpl
··· 235 235 !Iinclude/media/v4l2-event.h 236 236 !Iinclude/media/v4l2-dv-timings.h 237 237 !Iinclude/media/videobuf2-core.h 238 + !Iinclude/media/videobuf2-memops.h 238 239 <!-- FIXME: Removed for now due to document generation inconsistency 239 240 X!Iinclude/media/v4l2-mediabus.h 240 - X!Iinclude/media/videobuf2-memops.h 241 241 --> 242 242 243 243 </chapter>
+2 -1
include/media/videobuf2-memops.h
··· 17 17 #include <media/videobuf2-core.h> 18 18 19 19 /** 20 - * vb2_vmarea_handler - common vma refcount tracking handler 20 + * struct vb2_vmarea_handler - common vma refcount tracking handler 21 + * 21 22 * @refcount: pointer to refcount entry in the buffer 22 23 * @put: callback to function that decreases buffer refcount 23 24 * @arg: argument for @put callback