summaryrefslogtreecommitdiff
path: root/include/media
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2013-10-03 18:55:52 -0300
committerChanho Park <chanho61.park@samsung.com>2014-11-18 11:52:05 +0900
commitba586f03e2378c9b88f52a96f32c7393c154e33a (patch)
tree91f1b7adc8bcbadfafe386924c53cfa59722e81e /include/media
parent4d869efb3ce2b420d930149e26c128dde90f6a17 (diff)
downloadlinux-3.10-ba586f03e2378c9b88f52a96f32c7393c154e33a.tar.gz
linux-3.10-ba586f03e2378c9b88f52a96f32c7393c154e33a.tar.bz2
linux-3.10-ba586f03e2378c9b88f52a96f32c7393c154e33a.zip
upstream: [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>
Diffstat (limited to 'include/media')
-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 d942f79e94d..dbb064cde20 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;