diff options
author | Guennadi Liakhovetski <g.liakhovetski@gmx.de> | 2012-04-18 02:59:58 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-04-19 16:25:53 -0400 |
commit | b72d66770953c2177d70a7a5d24521a447d2b443 (patch) | |
tree | 45b0bbe2d3f36d64aa3342a36b1b8dd03b5c8f18 /include/media | |
parent | f70cfc7f182bf4605449cad4d665febf012c6f6b (diff) |
[media] V4L: fix a compiler warning
Fix the warning:
In file included from /home/lyakh/software/project/24/src/linux-2.6/drivers/media/video/v4l2-subdev.c:29:
linux-2.6/include/media/v4l2-ctrls.h:497: warning: 'struct file' declared inside parameter list
linux-2.6/include/media/v4l2-ctrls.h:497: warning: its scope is only this definition or declaration, which is probably not what you want
linux-2.6/include/media/v4l2-ctrls.h:505: warning: 'struct file' declared inside parameter list
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Acked-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'include/media')
-rw-r--r-- | include/media/v4l2-ctrls.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/media/v4l2-ctrls.h b/include/media/v4l2-ctrls.h index 33907a969752..8920f8210eab 100644 --- a/include/media/v4l2-ctrls.h +++ b/include/media/v4l2-ctrls.h | |||
@@ -496,6 +496,7 @@ void v4l2_ctrl_add_event(struct v4l2_ctrl *ctrl, | |||
496 | void v4l2_ctrl_del_event(struct v4l2_ctrl *ctrl, | 496 | void v4l2_ctrl_del_event(struct v4l2_ctrl *ctrl, |
497 | struct v4l2_subscribed_event *sev); | 497 | struct v4l2_subscribed_event *sev); |
498 | 498 | ||
499 | struct file; | ||
499 | /* Can be used as a vidioc_log_status function that just dumps all controls | 500 | /* Can be used as a vidioc_log_status function that just dumps all controls |
500 | associated with the filehandle. */ | 501 | associated with the filehandle. */ |
501 | int v4l2_ctrl_log_status(struct file *file, void *fh); | 502 | int v4l2_ctrl_log_status(struct file *file, void *fh); |