[media-ctl RFC][PATCH 5/5] v4l: Add missing linux/types.h include

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

 



This fixes following headers_check warnings:

*/usr/include/linux/v4l2-mediabus.h:63: found __[us]{8,16,32,64} type without #include <linux/types.h>
*/usr/include/linux/v4l2-subdev.h:33: found __[us]{8,16,32,64} type without #include <linux/types.h>

Signed-off-by: Sergio Aguirre <saaguirre@xxxxxx>
---
 include/linux/v4l2-mediabus.h |    1 +
 include/linux/v4l2-subdev.h   |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/include/linux/v4l2-mediabus.h b/include/linux/v4l2-mediabus.h
index 6832919..2a8e490 100644
--- a/include/linux/v4l2-mediabus.h
+++ b/include/linux/v4l2-mediabus.h
@@ -11,6 +11,7 @@
 #ifndef __LINUX_V4L2_MEDIABUS_H
 #define __LINUX_V4L2_MEDIABUS_H
 
+#include <linux/types.h>
 #include <linux/videodev2.h>
 
 /*
diff --git a/include/linux/v4l2-subdev.h b/include/linux/v4l2-subdev.h
index 5df95d4..e2e2c8d 100644
--- a/include/linux/v4l2-subdev.h
+++ b/include/linux/v4l2-subdev.h
@@ -19,6 +19,7 @@
 #define __LINUX_V4L2_SUBDEV_H
 
 #include <linux/ioctl.h>
+#include <linux/types.h>
 #include <linux/v4l2-mediabus.h>
 
 enum v4l2_subdev_format {
-- 
1.6.3.3

--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux