summaryrefslogtreecommitdiffstats
path: root/include/media
diff options
context:
space:
mode:
authorAndrzej Hajda <a.hajda@samsung.com>2013-06-28 10:44:22 +0200
committerMauro Carvalho Chehab <m.chehab@samsung.com>2013-07-26 15:14:52 +0200
commit81913283c80be8c0b7e038c26e2a611ab38394f1 (patch)
treef2bff4fae1acb6df894764a1a568a0a34832951a /include/media
parent[media] DocBook: upgrade media_api DocBook version to 4.2 (diff)
downloadlinux-81913283c80be8c0b7e038c26e2a611ab38394f1.tar.xz
linux-81913283c80be8c0b7e038c26e2a611ab38394f1.zip
[media] v4l2: added missing mutex.h include to v4l2-ctrls.h
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 <a.hajda@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'include/media')
-rw-r--r--include/media/v4l2-ctrls.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/media/v4l2-ctrls.h b/include/media/v4l2-ctrls.h
index 7343a27fe819..47ada23345a1 100644
--- a/include/media/v4l2-ctrls.h
+++ b/include/media/v4l2-ctrls.h
@@ -22,6 +22,7 @@
#define _V4L2_CTRLS_H
#include <linux/list.h>
+#include <linux/mutex.h>
#include <linux/videodev2.h>
/* forward references */