summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrzej Pietrasiewicz <andrzej.p@collabora.com>2024-01-05 13:54:37 +0100
committerHans Verkuil <hverkuil-cisco@xs4all.nl>2024-02-05 12:57:44 +0100
commit8b9911e553e762ebbe626270ce11b008736f1848 (patch)
treeb6887832223219081c96c9366de278087610f1d3
parent4a87348b50cf27263e73e0829eb0fab6d47d377a (diff)
downloadlinux-8b9911e553e762ebbe626270ce11b008736f1848.tar.gz
linux-8b9911e553e762ebbe626270ce11b008736f1848.tar.bz2
linux-8b9911e553e762ebbe626270ce11b008736f1848.zip
media: videobuf2: Fix doc comment
The documented struct member is called "planes" rather than "vb2_plane". While at it, make the comments order follow struct members order. Fixes: 2b1413245550 ("media: vb2-core: Improve kernel-doc markups") Signed-off-by: Andrzej Pietrasiewicz <andrzej.p@collabora.com> Acked-by: Tomasz Figa <tfiga@chromium.org> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
-rw-r--r--include/media/videobuf2-core.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/media/videobuf2-core.h b/include/media/videobuf2-core.h
index 56719a26a46c..d9c6b5d4e990 100644
--- a/include/media/videobuf2-core.h
+++ b/include/media/videobuf2-core.h
@@ -271,11 +271,11 @@ struct vb2_buffer {
* skips cache sync/invalidation.
* skip_cache_sync_on_finish: when set buffer's ->finish() function
* skips cache sync/invalidation.
+ * planes: per-plane information; do not change
* queued_entry: entry on the queued buffers list, which holds
* all buffers queued from userspace
* done_entry: entry on the list that stores all buffers ready
* to be dequeued to userspace
- * vb2_plane: per-plane information; do not change
*/
enum vb2_buffer_state state;
unsigned int synced:1;