From: Andrzej Hajda Date: Fri, 28 Jun 2013 08:44:22 +0000 (-0300) Subject: [media] v4l2: added missing mutex.h include to v4l2-ctrls.h X-Git-Tag: firefly_0821_release~176^2~3573^2~1322 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=a19dec6ea94c036af68c31930c1c92681f55af41;p=firefly-linux-kernel-4.4.55.git [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 Signed-off-by: Kyungmin Park Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab Cc: stable@vger.kernel.org --- 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 +#include #include /* forward references */