summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2013-10-03 18:55:52 -0300
committerMauro Carvalho Chehab <m.chehab@samsung.com>2013-10-17 06:10:11 -0300
commit4f1af2a33c9c5fbd2bf31a1679378860aca79f9e (patch)
tree31aa9a5fe032f6122e2c1c24bdfcaffcd6befadf
parent4eed9b337604307d1d31902212f2e8e42a864c51 (diff)
[media] v4l2-fh: Include linux/fs.h for struct file definition
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>
-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 a62ee18cb7b7..0d922080667f 100644
--- a/include/media/v4l2-fh.h
+++ b/include/media/v4l2-fh.h
@@ -26,6 +26,7 @@
#ifndef V4L2_FH_H
#define V4L2_FH_H
+#include <linux/fs.h>
#include <linux/list.h>
struct video_device;