aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/leds/trigger/Makefile
diff options
context:
space:
mode:
authorKim, Milo <Milo.Kim@ti.com>2013-03-14 04:29:24 -0700
committerBryan Wu <cooloney@gmail.com>2013-04-01 11:04:50 -0700
commit48a1d032c954b9b06c3adbf35ef4735dd70ab757 (patch)
tree1565df19ce741f9332e0a53cc9ef4881a389c002 /drivers/leds/trigger/Makefile
parentleds: trigger: use inline functions instead of macros (diff)
downloadlinux-dev-48a1d032c954b9b06c3adbf35ef4735dd70ab757.tar.xz
linux-dev-48a1d032c954b9b06c3adbf35ef4735dd70ab757.zip
leds: add camera LED triggers
Some LED devices support flash/torch functionality through the LED subsystem. This patch enables direct LED trigger controls by the driver. Flash on/off and torch on/off can be done simply by other driver space. Two trigger APIs are added, ledtrig_flash_ctrl() and ledtrig_torch_ctrl(). Signed-off-by: Milo(Woogyom) Kim <milo.kim@ti.com> Signed-off-by: Bryan Wu <cooloney@gmail.com>
Diffstat (limited to 'drivers/leds/trigger/Makefile')
-rw-r--r--drivers/leds/trigger/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/leds/trigger/Makefile b/drivers/leds/trigger/Makefile
index 554e46ee4c24..1abf48dacf7e 100644
--- a/drivers/leds/trigger/Makefile
+++ b/drivers/leds/trigger/Makefile
@@ -7,3 +7,4 @@ obj-$(CONFIG_LEDS_TRIGGER_GPIO) += ledtrig-gpio.o
obj-$(CONFIG_LEDS_TRIGGER_CPU) += ledtrig-cpu.o
obj-$(CONFIG_LEDS_TRIGGER_DEFAULT_ON) += ledtrig-default-on.o
obj-$(CONFIG_LEDS_TRIGGER_TRANSIENT) += ledtrig-transient.o
+obj-$(CONFIG_LEDS_TRIGGER_CAMERA) += ledtrig-camera.o