@@ -220,6 +220,14 @@ config BLK_INLINE_ENCRYPTION_FALLBACK
by falling back to the kernel crypto API when inline
encryption hardware is not present.
+config BLK_LED_TRIGGERS
+ bool "Enable the blkdev LED trigger"
+ depends on LEDS_TRIGGERS
+ help
+ The blkdev LED trigger allows LEDs to be controlled by
+ block device activity (reads and writes). See
+ Documentation/block/blk-ledtrig.rst.
+
menu "Partition Types"
source "block/partitions/Kconfig"
@@ -42,3 +42,4 @@ obj-$(CONFIG_BLK_SED_OPAL) += sed-opal.o
obj-$(CONFIG_BLK_PM) += blk-pm.o
obj-$(CONFIG_BLK_INLINE_ENCRYPTION) += keyslot-manager.o blk-crypto.o
obj-$(CONFIG_BLK_INLINE_ENCRYPTION_FALLBACK) += blk-crypto-fallback.o
+obj-$(CONFIG_BLK_LED_TRIGGERS) += blk-ledtrig.o
Signed-off-by: Ian Pilcher <arequipeno@gmail.com> --- block/Kconfig | 8 ++++++++ block/Makefile | 1 + 2 files changed, 9 insertions(+)