media: Add registration helpers for V4L2 flash sub-devices
authorJacek Anaszewski <j.anaszewski@samsung.com>
Fri, 19 Jun 2015 07:31:47 +0000 (00:31 -0700)
committerBryan Wu <cooloney@gmail.com>
Mon, 22 Jun 2015 20:53:16 +0000 (13:53 -0700)
commit42bd6f59ae90244484746696aabcafc0003f59c7
tree732281bf5b3544fbef93f39eb4f8d083cc264b66
parent862176512b55ff177fad008cb45ac7adb192300a
media: Add registration helpers for V4L2 flash sub-devices

This patch adds helper functions for registering/unregistering
LED Flash class devices as V4L2 sub-devices. The functions should
be called from the LED subsystem device driver. In case the
support for V4L2 Flash sub-devices is disabled in the kernel
config the functions' empty versions will be used.

Signed-off-by: Jacek Anaszewski <j.anaszewski@samsung.com>
Acked-by: Kyungmin Park <kyungmin.park@samsung.com>
Cc: Sakari Ailus <sakari.ailus@iki.fi>
Cc: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Bryan Wu <cooloney@gmail.com>
drivers/media/v4l2-core/Kconfig
drivers/media/v4l2-core/Makefile
drivers/media/v4l2-core/v4l2-flash-led-class.c [new file with mode: 0644]
include/media/v4l2-flash-led-class.h [new file with mode: 0644]
This page took 0.026589 seconds and 5 git commands to generate.