[media] v4l2-fh: Include linux/fs.h for struct file definition
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Thu, 3 Oct 2013 21:55:52 +0000 (18:55 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Thu, 17 Oct 2013 09:10:11 +0000 (06:10 -0300)
v4l2-fh.h dereferences struct file, the structure must thus be defined.
Pull in its definition by including linux/fs.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 a62ee18cb7b799c3982decdb63dc57f520e9b93a..0d922080667f3b5a8faa6630698d6ce3ad321646 100644 (file)
@@ -26,6 +26,7 @@
 #ifndef V4L2_FH_H
 #define V4L2_FH_H
 
+#include <linux/fs.h>
 #include <linux/list.h>
 
 struct video_device;