]> git.baikalelectronics.ru Git - kernel.git/commit
[media] v4l2-ctrls/event: remove struct v4l2_ctrl_fh, instead use v4l2_subscribed_event
authorHans Verkuil <hans.verkuil@cisco.com>
Mon, 13 Jun 2011 21:55:58 +0000 (18:55 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 27 Jul 2011 20:53:31 +0000 (17:53 -0300)
commitb1ebec9152ffdefcfb60ee09b59475261b1861fa
tree4fde4974ce56e52acac5c7c8d873d300e946adcc
parent7f15a43c7bcbcd475a9518bfcb54e0d7dc9dae5f
[media] v4l2-ctrls/event: remove struct v4l2_ctrl_fh, instead use v4l2_subscribed_event

The v4l2_ctrl_fh struct connected v4l2_ctrl with v4l2_fh so the control
would know which filehandles subscribed to it. However, it is much easier
to use struct v4l2_subscribed_event directly for that and get rid of that
intermediate struct.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/v4l2-ctrls.c
drivers/media/video/v4l2-event.c
include/media/v4l2-ctrls.h
include/media/v4l2-event.h