mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
[media] media: videobuf2: Change queue_setup argument
Replace struct v4l2_format * with void * to make queue_setup() for common use. And then, modify all device drivers related with this change. Signed-off-by: Junghak Sung <[email protected]> Signed-off-by: Geunyoung Kim <[email protected]> Acked-by: Seung-Woo Kim <[email protected]> Acked-by: Inki Dae <[email protected]> Signed-off-by: Hans Verkuil <[email protected]> [[email protected]: fix missing const in fimc-lite.c] Signed-off-by: Mauro Carvalho Chehab <[email protected]>
This commit is contained in:
parent
4d0b0ed636
commit
33119e80c3
79 changed files with 119 additions and 85 deletions
|
|
@ -335,7 +335,7 @@ struct vb2_buffer {
|
|||
* pre-queued buffers before calling STREAMON.
|
||||
*/
|
||||
struct vb2_ops {
|
||||
int (*queue_setup)(struct vb2_queue *q, const struct v4l2_format *fmt,
|
||||
int (*queue_setup)(struct vb2_queue *q, const void *parg,
|
||||
unsigned int *num_buffers, unsigned int *num_planes,
|
||||
unsigned int sizes[], void *alloc_ctxs[]);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue