Message ID | 20181109210605.12848-1-jasmin@anw.at (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | media: Use wait_queue_head_t for media_request | expand |
Hi! Temporary add this patch to media-build until it is integrated in mainline. This should fix the build errors for Kernels older than 4.12. BR, Jasmin
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; };