projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4eed9b3
)
[media] v4l2-fh: Include linux/fs.h for struct file definition
author
Laurent Pinchart
<
[email protected]
>
Thu, 3 Oct 2013 21:55:52 +0000
(18:55 -0300)
committer
Mauro Carvalho Chehab
<
[email protected]
>
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 <
[email protected]
>
Signed-off-by: Hans Verkuil <
[email protected]
>
Signed-off-by: Mauro Carvalho Chehab <
[email protected]
>
include/media/v4l2-fh.h
patch
|
blob
|
history
diff --git
a/include/media/v4l2-fh.h
b/include/media/v4l2-fh.h
index a62ee18cb7b799c3982decdb63dc57f520e9b93a..0d922080667f3b5a8faa6630698d6ce3ad321646 100644
(file)
--- 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;