leds: Add default-on trigger
Add a trigger which allows LEDs to default to the full
brightness state.
Signed-off-by: Nick Forbes <Nick.Forbes@huntsworth.com>
Signed-off-by: Richard Purdie <rpurdie@rpsys.net>
diff --git a/drivers/leds/Kconfig b/drivers/leds/Kconfig
index 2d5ea8a..86a369b 100644
--- a/drivers/leds/Kconfig
+++ b/drivers/leds/Kconfig
@@ -183,4 +183,11 @@
load average.
If unsure, say Y.
+config LEDS_TRIGGER_DEFAULT_ON
+ tristate "LED Default ON Trigger"
+ depends on LEDS_TRIGGERS
+ help
+ This allows LEDs to be initialised in the ON state.
+ If unsure, say Y.
+
endif # NEW_LEDS