]> git.karo-electronics.de Git - karo-tx-linux.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>
Fri, 1 Jul 2011 23:39:17 +0000 (20:39 -0300)
commit693c20363fc7501a5d3f4a7c04e034c629896dcf
treea0b34e3b31feeff0dae34b135182b452691bf8f7
parent187fd8002bb796444e321bbfb5ababa7d3642ed9
[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