From patchwork Fri Nov 9 21:06:05 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Jasmin J." X-Patchwork-Id: 10676575 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 9FB6314BD for ; Fri, 9 Nov 2018 21:20:29 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8BAFE2F1D5 for ; Fri, 9 Nov 2018 21:20:29 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 763BA2F193; Fri, 9 Nov 2018 21:20:29 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.2 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI,SUBJ_OBFU_PUNCT_FEW autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5DAC5295A2 for ; Fri, 9 Nov 2018 21:20:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728176AbeKJHCZ (ORCPT ); Sat, 10 Nov 2018 02:02:25 -0500 Received: from smtp.anw.at ([195.234.102.72]:43004 "EHLO smtp.anw.at" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728167AbeKJHCZ (ORCPT ); Sat, 10 Nov 2018 02:02:25 -0500 X-Greylist: delayed 824 seconds by postgrey-1.27 at vger.kernel.org; Sat, 10 Nov 2018 02:02:24 EST Received: from hoppel.217.196.72.190 (anwhome.anw.at [195.234.103.23]) by smtp.anw.at (8.14.4/8.14.4/Debian-4.1ubuntu1) with ESMTP id wA9L6Ete004950; Fri, 9 Nov 2018 22:06:14 +0100 From: "Jasmin J." To: linux-media@vger.kernel.org Cc: hans.verkuil@cisco.com, mchehab+samsung@kernel.org, jasmin@anw.at Subject: [PATCH] media: Use wait_queue_head_t for media_request Date: Fri, 9 Nov 2018 22:06:05 +0100 Message-Id: <20181109210605.12848-1-jasmin@anw.at> X-Mailer: git-send-email 2.17.1 X-Antivirus: checked in 0.020sec at smtp.anw.at ([195.234.102.72]) by smf-clamd v1.2.1 - http://smfs.sf.net/ Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Jasmin Jessich The portable type for a wait queue is wait_queue_head_t. Signed-off-by: Jasmin Jessich --- include/media/media-request.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; };