vb2: replace void *alloc_ctxs by struct device *alloc_devs

Upstream: torvalds/linux@36c0f8b32c ("[media] vb2:
replace void *alloc_ctxs by struct device *alloc_devs")
This commit is contained in:
Azat Khuzhin
2016-10-10 21:21:44 +03:00
parent 48f9854e5d
commit 40e8e711ad
2 changed files with 14 additions and 0 deletions

View File

@@ -118,7 +118,9 @@ struct fthd_private {
struct vb2_queue vb2_queue;
struct mutex vb2_queue_lock;
struct list_head buffer_queue;
#if LINUX_VERSION_CODE < KERNEL_VERSION(4,8,0)
struct vb2_alloc_ctx *alloc_ctx;
#endif
struct h2t_buf_ctx h2t_bufs[FTHD_BUFFERS];
struct v4l2_ctrl_handler v4l2_ctrl_handler;