The patch below does not apply to the 3.11-stable tree. If someone wants it applied there, or to any other stable or longterm tree, then please email the backport, including the original git commit id to <[email protected]>.
thanks, greg k-h ------------------ original commit in Linus's tree ------------------ >From a19dec6ea94c036af68c31930c1c92681f55af41 Mon Sep 17 00:00:00 2001 From: Andrzej Hajda <[email protected]> Date: Fri, 28 Jun 2013 05:44:22 -0300 Subject: [PATCH] [media] v4l2: added missing mutex.h include to v4l2-ctrls.h MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 <[email protected]> Signed-off-by: Kyungmin Park <[email protected]> Signed-off-by: Hans Verkuil <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]> Cc: [email protected] diff --git a/include/media/v4l2-ctrls.h b/include/media/v4l2-ctrls.h index 7343a27f..47ada233 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 */ -- To unsubscribe from this list: send the line "unsubscribe stable" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
