diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2013-10-03 23:55:52 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2013-10-17 11:10:11 +0200 |
commit | 4f1af2a33c9c5fbd2bf31a1679378860aca79f9e (patch) | |
tree | 31aa9a5fe032f6122e2c1c24bdfcaffcd6befadf /include | |
parent | [media] v4l2-ctrls: Correct v4l2_ctrl_get_int_menu() function's return type (diff) | |
download | linux-4f1af2a33c9c5fbd2bf31a1679378860aca79f9e.tar.xz linux-4f1af2a33c9c5fbd2bf31a1679378860aca79f9e.zip |
[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')
-rw-r--r-- | include/media/v4l2-fh.h | 1 |
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; |