summaryrefslogtreecommitdiff
path: root/include/uapi
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <m.chehab@samsung.com>2014-04-06 10:48:31 -0300
committerChanho Park <chanho61.park@samsung.com>2014-11-18 11:55:07 +0900
commitb15efe3e9ce16d26f65e8968fc21d4fba92c3be1 (patch)
treec4a39cba3c181f651c6205d5a7e6d5f753c6a876 /include/uapi
parent33a7e725c5a84da43979977f74d71899ad94ed61 (diff)
downloadlinux-3.10-b15efe3e9ce16d26f65e8968fc21d4fba92c3be1.tar.gz
linux-3.10-b15efe3e9ce16d26f65e8968fc21d4fba92c3be1.tar.bz2
linux-3.10-b15efe3e9ce16d26f65e8968fc21d4fba92c3be1.zip
upstream: [media] v4l2-common: fix warning when used on userpace
As reported by Linus, make headers_check is reporting: usr/include/linux/v4l2-common.h:72: found __[us]{8,16,32,64} type without #include <linux/types.h> which seems to have come in through commits 777f4f85b75f1 and 254a47770163f. That happens because struct v4l2_edid should be visible by both subdev and V4L2 APIs. So, it was moved to v4l2-common.h. As Linus pointed, the proper fix is to just add an include for linux/types.h at v4l2-common.h. Reported-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'include/uapi')
-rw-r--r--include/uapi/linux/v4l2-common.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/uapi/linux/v4l2-common.h b/include/uapi/linux/v4l2-common.h
index 270db8914c0..9bf508ad095 100644
--- a/include/uapi/linux/v4l2-common.h
+++ b/include/uapi/linux/v4l2-common.h
@@ -29,6 +29,8 @@
#ifndef __V4L2_COMMON__
#define __V4L2_COMMON__
+#include <linux/types.h>
+
/*
*
* Selection interface definitions