mirror of https://gitee.com/openkylin/linux.git
media: Rename vb2_m2m_request_queue -> v4l2_m2m_request_queue
To be consistent with the rest of the mem2mem helpers, rename vb2_m2m_request_queue to v4l2_m2m_request_queue. This is just a cosmetic change. Signed-off-by: Ezequiel Garcia <ezequiel@collabora.com> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
This commit is contained in:
parent
2efaf6ebb3
commit
ef86eaf97a
|
@ -1009,7 +1009,7 @@ static const struct v4l2_m2m_ops m2m_ops = {
|
||||||
|
|
||||||
static const struct media_device_ops m2m_media_ops = {
|
static const struct media_device_ops m2m_media_ops = {
|
||||||
.req_validate = vb2_request_validate,
|
.req_validate = vb2_request_validate,
|
||||||
.req_queue = vb2_m2m_request_queue,
|
.req_queue = v4l2_m2m_request_queue,
|
||||||
};
|
};
|
||||||
|
|
||||||
static int vim2m_probe(struct platform_device *pdev)
|
static int vim2m_probe(struct platform_device *pdev)
|
||||||
|
|
|
@ -953,7 +953,7 @@ void v4l2_m2m_buf_queue(struct v4l2_m2m_ctx *m2m_ctx,
|
||||||
}
|
}
|
||||||
EXPORT_SYMBOL_GPL(v4l2_m2m_buf_queue);
|
EXPORT_SYMBOL_GPL(v4l2_m2m_buf_queue);
|
||||||
|
|
||||||
void vb2_m2m_request_queue(struct media_request *req)
|
void v4l2_m2m_request_queue(struct media_request *req)
|
||||||
{
|
{
|
||||||
struct media_request_object *obj, *obj_safe;
|
struct media_request_object *obj, *obj_safe;
|
||||||
struct v4l2_m2m_ctx *m2m_ctx = NULL;
|
struct v4l2_m2m_ctx *m2m_ctx = NULL;
|
||||||
|
@ -997,7 +997,7 @@ void vb2_m2m_request_queue(struct media_request *req)
|
||||||
if (m2m_ctx)
|
if (m2m_ctx)
|
||||||
v4l2_m2m_try_schedule(m2m_ctx);
|
v4l2_m2m_try_schedule(m2m_ctx);
|
||||||
}
|
}
|
||||||
EXPORT_SYMBOL_GPL(vb2_m2m_request_queue);
|
EXPORT_SYMBOL_GPL(v4l2_m2m_request_queue);
|
||||||
|
|
||||||
/* Videobuf2 ioctl helpers */
|
/* Videobuf2 ioctl helpers */
|
||||||
|
|
||||||
|
|
|
@ -253,7 +253,7 @@ static const struct v4l2_m2m_ops cedrus_m2m_ops = {
|
||||||
|
|
||||||
static const struct media_device_ops cedrus_m2m_media_ops = {
|
static const struct media_device_ops cedrus_m2m_media_ops = {
|
||||||
.req_validate = cedrus_request_validate,
|
.req_validate = cedrus_request_validate,
|
||||||
.req_queue = vb2_m2m_request_queue,
|
.req_queue = v4l2_m2m_request_queue,
|
||||||
};
|
};
|
||||||
|
|
||||||
static int cedrus_probe(struct platform_device *pdev)
|
static int cedrus_probe(struct platform_device *pdev)
|
||||||
|
|
|
@ -624,7 +624,7 @@ v4l2_m2m_dst_buf_remove_by_idx(struct v4l2_m2m_ctx *m2m_ctx, unsigned int idx)
|
||||||
|
|
||||||
/* v4l2 request helper */
|
/* v4l2 request helper */
|
||||||
|
|
||||||
void vb2_m2m_request_queue(struct media_request *req);
|
void v4l2_m2m_request_queue(struct media_request *req);
|
||||||
|
|
||||||
/* v4l2 ioctl helpers */
|
/* v4l2 ioctl helpers */
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue