]> Pileus Git - ~andy/linux/commit
[media] V4L2: add a common V4L2 subdevice platform data type
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Thu, 18 Apr 2013 21:35:27 +0000 (18:35 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Thu, 31 Oct 2013 06:30:12 +0000 (04:30 -0200)
commitb1cbab05d9adbd8d6d7afc822b809c5d47c46f94
tree9e8bb902c061e66cc47a659a51ddca4cd2cce727
parent507fcd3da2a28b5342cd0e3eea69b886741adb60
[media] V4L2: add a common V4L2 subdevice platform data type

This struct shall be used by subdevice drivers to pass per-subdevice data,
e.g. power supplies, to generic V4L2 methods, at the same time allowing
optional host-specific extensions via the host_priv pointer. To avoid
having to pass two pointers to those methods, add a pointer to this new
struct to struct v4l2_subdev.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
include/media/v4l2-subdev.h