summaryrefslogtreecommitdiffstats
path: root/include/media/videobuf2-v4l2.h
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@osg.samsung.com>2015-10-01 14:23:35 -0300
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2015-10-01 14:23:35 -0300
commitd383b57911c8a6c3da1af7b3f72dfecfcd5633d0 (patch)
tree619d884b5f660825cea7bdfd5434688e5ee1e8b2 /include/media/videobuf2-v4l2.h
parent32d81b41cd4f2021ef1b6378b4f6029307687df2 (diff)
downloadlinux-d383b57911c8a6c3da1af7b3f72dfecfcd5633d0.tar.bz2
[media] DocBook: Remove a warning at videobuf2-v4l2.h
There's no need to document to_foo() macros, and the macro is badly documented anyway. That removes this warning: include/media/videobuf2-v4l2.h:43: warning: No description found for parameter 'vb' While here, remove the parenthesis for container_of(). The countainer_of() already have parenthesis inside it. Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'include/media/videobuf2-v4l2.h')
-rw-r--r--include/media/videobuf2-v4l2.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/media/videobuf2-v4l2.h b/include/media/videobuf2-v4l2.h
index 20d8ad20066c..71f7fe2706b3 100644
--- a/include/media/videobuf2-v4l2.h
+++ b/include/media/videobuf2-v4l2.h
@@ -36,10 +36,10 @@ struct vb2_v4l2_buffer {
__u32 sequence;
};
-/**
+/*
* to_vb2_v4l2_buffer() - cast struct vb2_buffer * to struct vb2_v4l2_buffer *
*/
#define to_vb2_v4l2_buffer(vb) \
- (container_of(vb, struct vb2_v4l2_buffer, vb2_buf))
+ container_of(vb, struct vb2_v4l2_buffer, vb2_buf)
#endif /* _MEDIA_VIDEOBUF2_V4L2_H */