1
0
Fork 0

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>
hifive-unleashed-5.1
Jasmin Jessich 2018-11-09 16:06:05 -05:00 committed by Mauro Carvalho Chehab
parent 4e26f692e2
commit 4212368750
1 changed files with 1 additions and 1 deletions

View File

@ -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;
};