]> git.karo-electronics.de Git - karo-tx-linux.git/commit
[media] v4l2: added missing mutex.h include to v4l2-ctrls.h
authorAndrzej Hajda <a.hajda@samsung.com>
Fri, 28 Jun 2013 08:44:22 +0000 (05:44 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Tue, 3 Sep 2013 12:24:18 +0000 (09:24 -0300)
commita19dec6ea94c036af68c31930c1c92681f55af41
tree26342870b00cf18d7450f36d7cb62451b3ebc5bd
parent8bfd4a68ecc003c1a142f35551be846d6b13e822
[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>
Cc: stable@vger.kernel.org
include/media/v4l2-ctrls.h