media: videobuf2-core.h: improve buf_struct_size documentation
authorHans Verkuil <hverkuil-cisco@xs4all.nl>
Thu, 20 Feb 2020 09:34:26 +0000 (10:34 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Mon, 2 Mar 2020 14:27:25 +0000 (15:27 +0100)
commit1583c793af736c8d33bf4aa6054ddc5c86e5a6c7
treecf34d4979876b3405f6f789f3317b5e7e6beaad5
parent6af5bcd37969b3bac4d851ea01362b9c01fec5bb
media: videobuf2-core.h: improve buf_struct_size documentation

Explicitly document that the driver-specific buffer structure
must start with the subsystem-specific struct (vb2_v4l2_buffer
in the case of V4L2).

Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
include/media/videobuf2-core.h