Commit ef86eaf9 authored by Ezequiel Garcia's avatar Ezequiel Garcia Committed by Mauro Carvalho Chehab

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: default avatarEzequiel Garcia <ezequiel@collabora.com>
Signed-off-by: default avatarHans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+samsung@kernel.org>
parent 2efaf6eb
...@@ -1009,7 +1009,7 @@ static const struct v4l2_m2m_ops m2m_ops = { ...@@ -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, ...@@ -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) ...@@ -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 = { ...@@ -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) ...@@ -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 */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment