diff options
author | Michael Tretter <m.tretter@pengutronix.de> | 2018-11-26 21:01:24 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2018-12-03 22:41:51 +0300 |
commit | b52b88ce5bd68e9f6ce4f01d2306e61ce34fc5a0 (patch) | |
tree | e6108fbd081db62eadb6158df240cc6e87d159ba /crypto/testmgr.c | |
parent | c2286cc02e32a2f40735e42c27acecd60a91f060 (diff) | |
download | linux-b52b88ce5bd68e9f6ce4f01d2306e61ce34fc5a0.tar.xz |
media: v4l2-pci-skeleton: replace vb2_buffer with vb2_v4l2_buffer
Commit 2d7007153f0c ("[media] media: videobuf2: Restructure vb2_buffer")
replaced vb2_buffer with vb2_v4l2_buffer in all v4l2 drivers. The
restructuring skipped the v4l2-pci-skeleton, probably because it resides
outside the drivers directory.
The v4l2_buf_ops assume that the passed buffer is a vb2_v4l2_buffer.
This is not the case if the skel_buffer is based on vb2_buffer instead
of vb2_v4l2_buffer.
Replace vb2_buffer with vb2_v4l2_buffer in the skeleton to make sure
that future drivers that are based on the skeleton use vb2_v4l2_buffer.
Signed-off-by: Michael Tretter <m.tretter@pengutronix.de>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'crypto/testmgr.c')
0 files changed, 0 insertions, 0 deletions