Patch "media: v4l2: added missing mutex.h include to v4l2-ctrls.h" has been added to the 3.10-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    media: v4l2: added missing mutex.h include to v4l2-ctrls.h

to the 3.10-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     media-v4l2-added-missing-mutex.h-include-to-v4l2-ctrls.h.patch
and it can be found in the queue-3.10 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.


>From a19dec6ea94c036af68c31930c1c92681f55af41 Mon Sep 17 00:00:00 2001
From: Andrzej Hajda <a.hajda@xxxxxxxxxxx>
Date: Fri, 28 Jun 2013 05:44:22 -0300
Subject: media: v4l2: added missing mutex.h include to v4l2-ctrls.h

From: Andrzej Hajda <a.hajda@xxxxxxxxxxx>

commit a19dec6ea94c036af68c31930c1c92681f55af41 upstream.

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@xxxxxxxxxxx>
Signed-off-by: Kyungmin Park <kyungmin.park@xxxxxxxxxxx>
Signed-off-by: Hans Verkuil <hans.verkuil@xxxxxxxxx>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@xxxxxxxxxxx>
Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>

---
 include/media/v4l2-ctrls.h |    1 +
 1 file changed, 1 insertion(+)

--- 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 */


Patches currently in stable-queue which might be from a.hajda@xxxxxxxxxxx are

queue-3.10/media-docbook-upgrade-media_api-docbook-version-to-4.2.patch
queue-3.10/media-exynos4-is-fix-entity-unregistration-on-error-path.patch
queue-3.10/media-v4l2-added-missing-mutex.h-include-to-v4l2-ctrls.h.patch
--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]