* [PATCH] v4l2-fh: Include linux/fs.h for struct file definition
@ 2013-10-03 21:55 Laurent Pinchart
2013-11-06 17:34 ` Sakari Ailus
0 siblings, 1 reply; 2+ messages in thread
From: Laurent Pinchart @ 2013-10-03 21:55 UTC (permalink / raw)
To: linux-media
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>
---
include/media/v4l2-fh.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/media/v4l2-fh.h b/include/media/v4l2-fh.h
index a62ee18..0d92208 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;
--
Regards,
Laurent Pinchart
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] v4l2-fh: Include linux/fs.h for struct file definition
2013-10-03 21:55 [PATCH] v4l2-fh: Include linux/fs.h for struct file definition Laurent Pinchart
@ 2013-11-06 17:34 ` Sakari Ailus
0 siblings, 0 replies; 2+ messages in thread
From: Sakari Ailus @ 2013-11-06 17:34 UTC (permalink / raw)
To: Laurent Pinchart; +Cc: linux-media
On Thu, Oct 03, 2013 at 11:55:52PM +0200, Laurent Pinchart wrote:
> 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>
Acked-by: Sakari Ailus <sakari.ailus@iki.fi>
--
Sakari Ailus
e-mail: sakari.ailus@iki.fi XMPP: sailus@retiisi.org.uk
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-11-06 17:34 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-10-03 21:55 [PATCH] v4l2-fh: Include linux/fs.h for struct file definition Laurent Pinchart
2013-11-06 17:34 ` Sakari Ailus
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).