diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2011-01-08 11:15:53 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-01-19 14:45:31 +0100 |
commit | 45f6f84af3ae9db19f39bc5d0976d626b0ef626e (patch) | |
tree | f3ef2f5bb782f5d7180c5cc2a8ab58fd855a4ccf /net/key | |
parent | [media] v4l2-subdev: remove core.s_config and v4l2_i2c_new_subdev_cfg() (diff) | |
download | linux-45f6f84af3ae9db19f39bc5d0976d626b0ef626e.tar.xz linux-45f6f84af3ae9db19f39bc5d0976d626b0ef626e.zip |
[media] v4l2-subdev: add (un)register internal ops
Some subdevs need to call into the board code after they are registered
and have a valid struct v4l2_device pointer. The s_config op was abused
for this, but now that it is removed we need a cleaner way of solving this.
So this patch adds a struct with internal ops that the v4l2 core can call.
Currently only two ops exist: register and unregister. Subdevs can implement
these to call the board code and pass it the v4l2_device pointer, which the
board code can then use to get access to the struct that embeds the
v4l2_device.
It is expected that in the future open and close ops will also be added.
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'net/key')
0 files changed, 0 insertions, 0 deletions