summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2013-10-03 23:59:30 +0200
committerMauro Carvalho Chehab <m.chehab@samsung.com>2013-10-17 11:10:29 +0200
commitc8d185ce33ecd560275f76c590fda4cdba824bd9 (patch)
tree0358e5992c5d89c28a2b4e0e3ecea5f136b1a71d
parent[media] v4l2-fh: Include linux/fs.h for struct file definition (diff)
downloadlinux-c8d185ce33ecd560275f76c590fda4cdba824bd9.tar.xz
linux-c8d185ce33ecd560275f76c590fda4cdba824bd9.zip
[media] v4l2-fh: Include linux/videodev2.h for enum v4l2_priority definition
struct v4l2_fh has an enum v4l2_priority field. Make sure the enum definition is available by including linux/videodev2.h. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
-rw-r--r--include/media/v4l2-fh.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/media/v4l2-fh.h b/include/media/v4l2-fh.h
index 0d922080667f..528cdaf622e1 100644
--- a/include/media/v4l2-fh.h
+++ b/include/media/v4l2-fh.h
@@ -28,6 +28,7 @@
#include <linux/fs.h>
#include <linux/list.h>
+#include <linux/videodev2.h>
struct video_device;
struct v4l2_ctrl_handler;