]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commitdiff
v4l2-controls: add a missing include
authorMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Fri, 2 Nov 2018 10:36:32 +0000 (06:36 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Fri, 2 Nov 2018 10:36:32 +0000 (06:36 -0400)
As warned by "make headers_check", the definition for the linux-specific
integer types is missing:

./usr/include/linux/v4l2-controls.h:1105: found __[us]{8,16,32,64} type without #include <linux/types.h>

Fixes: c27bb30e7b6d ("media: v4l: Add definitions for MPEG-2 slice format and metadata")
Reported-by: Linus Torvalds <torvalds@linux-foundation.org>
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
include/uapi/linux/v4l2-controls.h

index 51b095898f4b5952178205b5c517c7e383066164..86a54916206fa2d358bbd7c4293e3405b9a664b8 100644 (file)
@@ -47,6 +47,8 @@
  *  videodev2.h.
  */
 
+#include <linux/types.h>
+
 #ifndef __LINUX_V4L2_CONTROLS_H
 #define __LINUX_V4L2_CONTROLS_H