From patchwork Fri Jun 28 09:44:22 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Andrzej Hajda X-Patchwork-Id: 19109 X-Patchwork-Delegate: hverkuil@xs4all.nl Received: from mail.tu-berlin.de ([130.149.7.33]) by www.linuxtv.org with esmtp (Exim 4.72) (envelope-from ) id 1UsVEb-000170-Ra; Fri, 28 Jun 2013 11:44:53 +0200 X-tubIT-Incoming-IP: 209.132.180.67 Received: from vger.kernel.org ([209.132.180.67]) by mail.tu-berlin.de (exim-4.72/mailfrontend-6) with esmtp id 1UsVEZ-0006Qn-5O; Fri, 28 Jun 2013 11:44:53 +0200 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754891Ab3F1Jot (ORCPT + 1 other); Fri, 28 Jun 2013 05:44:49 -0400 Received: from mailout4.w1.samsung.com ([210.118.77.14]:8844 "EHLO mailout4.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754688Ab3F1Jot (ORCPT ); Fri, 28 Jun 2013 05:44:49 -0400 MIME-version: 1.0 Content-transfer-encoding: 8BIT Content-type: text/plain; charset=UTF-8 Received: from eucpsbgm2.samsung.com (unknown [203.254.199.245]) by mailout4.w1.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MP3000VBK5EM5D0@mailout4.w1.samsung.com> for linux-media@vger.kernel.org; Fri, 28 Jun 2013 10:44:45 +0100 (BST) X-AuditID: cbfec7f5-b7f376d000001ec6-a4-51cd5b0d4b3a Received: from eusync4.samsung.com ( [203.254.199.214]) by eucpsbgm2.samsung.com (EUCPMTA) with SMTP id AC.B9.07878.D0B5DC15; Fri, 28 Jun 2013 10:44:45 +0100 (BST) Received: from AMDC1061.digital.local ([106.116.147.88]) by eusync4.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0MP300BW8KEAP120@eusync4.samsung.com>; Fri, 28 Jun 2013 10:44:45 +0100 (BST) From: Andrzej Hajda To: linux-media@vger.kernel.org Cc: Andrzej Hajda , Hans Verkuil , Sylwester Nawrocki , Kyungmin Park Subject: [PATCH] v4l2: added missing mutex.h include to v4l2-ctrls.h Date: Fri, 28 Jun 2013 11:44:22 +0200 Message-id: <1372412662-7101-1-git-send-email-a.hajda@samsung.com> X-Mailer: git-send-email 1.8.1.2 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprALMWRmVeSWpSXmKPExsVy+t/xa7q80WcDDV6fYrW4te4cq8Wpyc+Y LM42vWG36NmwldXi8Jt2VgdWj74tqxg9Pm+S8zj19TN7AHMUl01Kak5mWWqRvl0CV8b588vZ C2ZwVCz/8pi5gXEqexcjJ4eEgInEp5mvoWwxiQv31rN1MXJxCAksZZT4uKuFCSTBKyAo8WPy PZYuRg4OZgF5iSOXskHCzALqEpPmLWKGqO9jkpgy6wsbSIJNQFPi7+abYLYIUP2T3htgQ5kF ljFKPPvUwgqSEBZwkXj7eDfYZhYBVYm3V7+DLeAVcJJY+MAe4iAFiZ+XT7BNYOSbheSMWQhn zEJyxgJG5lWMoqmlyQXFSem5RnrFibnFpXnpesn5uZsYIaH4dQfj0mNWhxgFOBiVeHhvJp8J FGJNLCuuzD3EKMHBrCTCaxBxNlCINyWxsiq1KD++qDQntfgQIxMHp1QD40SXJ/xfpUL0fsks SmZlilhxf6dKeleS5dQY2RVzFmxRbdPlftdl1Hd4x/UjX6/qrgy2cU/J1bVh+PDAeO+smRpy Z86b9xpwvRfdec1k9h2TspMv3R6xefpa2F7Ntd29N/z/VGvBytXty+T0ZRhMp53//1H9/jeH RROjbjw8vWViRvDZr4ev5yqxFGckGmoxFxUnAgDZmxveIwIAAA== Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-PMX-Version: 6.0.0.2142326, Antispam-Engine: 2.7.2.2107409, Antispam-Data: 2013.6.28.93617 X-PMX-Spam: Gauge=IIIIIIII, Probability=8%, Report=' MULTIPLE_RCPTS 0.1, HTML_00_01 0.05, HTML_00_10 0.05, BODYTEXTP_SIZE_3000_LESS 0, BODY_SIZE_1200_1299 0, BODY_SIZE_2000_LESS 0, BODY_SIZE_5000_LESS 0, BODY_SIZE_7000_LESS 0, CT_TEXT_PLAIN_UTF8_CAPS 0, URI_ENDS_IN_HTML 0, __ANY_URI 0, __CP_URI_IN_BODY 0, __CT 0, __CTE 0, __CT_TEXT_PLAIN 0, __HAS_FROM 0, __HAS_MSGID 0, __HAS_X_MAILER 0, __HAS_X_MAILING_LIST 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __MULTIPLE_RCPTS_CC_X2 0, __SANE_MSGID 0, __TO_MALFORMED_2 0, __TO_NO_NAME 0, __URI_NO_WWW 0, __URI_NS ' This patch fixes following error: include/media/v4l2-ctrls.h:193:15: error: field ‘_lock’ has incomplete type include/media/v4l2-ctrls.h: In function ‘v4l2_ctrl_lock’: include/media/v4l2-ctrls.h:570:2: error: implicit declaration of function ‘mutex_lock’ [-Werror=implicit-function-declaration] include/media/v4l2-ctrls.h: In function ‘v4l2_ctrl_unlock’: include/media/v4l2-ctrls.h:579:2: error: implicit declaration of function ‘mutex_unlock’ [-Werror=implicit-function-declaration] Signed-off-by: Andrzej Hajda Signed-off-by: Kyungmin Park --- include/media/v4l2-ctrls.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/media/v4l2-ctrls.h b/include/media/v4l2-ctrls.h index 7343a27..47ada23 100644 --- a/include/media/v4l2-ctrls.h +++ b/include/media/v4l2-ctrls.h @@ -22,6 +22,7 @@ #define _V4L2_CTRLS_H #include +#include #include /* forward references */