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: 2798021 Return-Path: X-Original-To: patchwork-linux-media@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 02E3CBF4A1 for ; Fri, 28 Jun 2013 09:44:54 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 32D312018D for ; Fri, 28 Jun 2013 09:44:53 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id DD3622018B for ; Fri, 28 Jun 2013 09:44:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754891Ab3F1Jot (ORCPT ); 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-Spam-Status: No, score=-8.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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 */