[media] v4l2-events/fh: merge v4l2_events into v4l2_fh
authorHans Verkuil <hans.verkuil@cisco.com>
Mon, 13 Jun 2011 20:44:42 +0000 (17:44 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 27 Jul 2011 20:53:31 +0000 (17:53 -0300)
commit523f46d6aba9dcb0a2d0fc474ca884e93a7cf198
tree5c73cecf3d9786868ac03c93f7df2df6a465d9a6
parent95904d4b6a188ea2f0f1781498f6ca626e21b9ac
[media] v4l2-events/fh: merge v4l2_events into v4l2_fh

Drivers that supported events used to be rare, but now that controls can also
raise events this will become much more common since almost all drivers have
controls.

This means that keeping struct v4l2_events as a separate struct make no more
sense. Merging it into struct v4l2_fh simplifies things substantially as it
is now an integral part of the filehandle struct.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/ivtv/ivtv-fileops.c
drivers/media/video/v4l2-ctrls.c
drivers/media/video/v4l2-event.c
drivers/media/video/v4l2-fh.c
drivers/media/video/v4l2-subdev.c
drivers/media/video/vivi.c
drivers/usb/gadget/uvc_v4l2.c
include/media/v4l2-event.h
include/media/v4l2-fh.h