[media] v4l2-fh: Include linux/videodev2.h for enum v4l2_priority definition
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Thu, 3 Oct 2013 21:59:30 +0000 (18:59 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Thu, 17 Oct 2013 09:10:29 +0000 (06:10 -0300)
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>
include/media/v4l2-fh.h

index 0d922080667f3b5a8faa6630698d6ce3ad321646..528cdaf622e192aa572ade990b60acf949e74109 100644 (file)
@@ -28,6 +28,7 @@
 
 #include <linux/fs.h>
 #include <linux/list.h>
+#include <linux/videodev2.h>
 
 struct video_device;
 struct v4l2_ctrl_handler;