]> git.karo-electronics.de Git - linux-beck.git/commit
[media] V4L: fix a compiler warning
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Wed, 18 Apr 2012 06:59:58 +0000 (03:59 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 19 Apr 2012 20:25:53 +0000 (17:25 -0300)
commitb72d66770953c2177d70a7a5d24521a447d2b443
tree45b0bbe2d3f36d64aa3342a36b1b8dd03b5c8f18
parentf70cfc7f182bf4605449cad4d665febf012c6f6b
[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>
include/media/v4l2-ctrls.h