[media] v4l: v4l2-ctrls: moves the forward declaration of struct file
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Mon, 23 Apr 2012 11:20:35 +0000 (08:20 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 14 May 2012 16:41:07 +0000 (13:41 -0300)
commit528f0f785c042c80294708c5ae2c8005b4a0ee60
tree792db76eb99d3a539fa1ed5556d0438ddacd4185
parent5c37598142621ca8aadfd115d8e5f51c5337f8d5
[media] v4l: v4l2-ctrls: moves the forward declaration of struct file

This fixes the following warning:

In file included from drivers/media/video/v4l2-subdev.c:29:
include/media/v4l2-ctrls.h:501: warning: 'struct file' declared inside
parameter list
include/media/v4l2-ctrls.h:501: warning: its scope is only this
definition or declaration, which is probably not what you want
include/media/v4l2-ctrls.h:509: warning: 'struct file' declared inside
parameter list

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
include/media/v4l2-ctrls.h