aboutsummaryrefslogtreecommitdiffstats
path: root/include/media
diff options
context:
space:
mode:
authorJasmin Jessich <jasmin@anw.at>2018-11-09 16:06:05 -0500
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>2018-11-20 12:53:23 -0500
commit4212368750cf94623f5b382293625dbb3d8d041a (patch)
tree688c46506cb5b42b80e998c54145c819b299d9f2 /include/media
parentmedia: ipu3-cio2: Use cio2_queues_exit (diff)
downloadlinux-dev-4212368750cf94623f5b382293625dbb3d8d041a.tar.xz
linux-dev-4212368750cf94623f5b382293625dbb3d8d041a.zip
media: Use wait_queue_head_t for media_request
The portable type for a wait queue is wait_queue_head_t. Signed-off-by: Jasmin Jessich <jasmin@anw.at> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'include/media')
-rw-r--r--include/media/media-request.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/media/media-request.h b/include/media/media-request.h
index 0ce75c35131f..bd36d7431698 100644
--- a/include/media/media-request.h
+++ b/include/media/media-request.h
@@ -68,7 +68,7 @@ struct media_request {
unsigned int access_count;
struct list_head objects;
unsigned int num_incomplete_objects;
- struct wait_queue_head poll_wait;
+ wait_queue_head_t poll_wait;
spinlock_t lock;
};