linux/drivers/leds/flash
Arnd Bergmann c3c38e8001 leds: tps6131x: Add V4L2_FLASH_LED_CLASS dependency
This driver can optionally use the v4l2_flash infrastructure, but fails to
link built=in if that is in a loadable module:

ld.lld-21: error: undefined symbol: v4l2_flash_release
>>> referenced by leds-tps6131x.c:792 (drivers/leds/flash/leds-tps6131x.c:792)

Add the usual Kconfig dependency for it, still allowing it to be built when
CONFIG_V4L2_FLASH_LED_CLASS is disabled.

Fixes: b338a2ae9b ("leds: tps6131x: Add support for Texas Instruments TPS6131X flash LED driver")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Randy Dunlap <rdunlap@infradead.org>
Tested-by: Randy Dunlap <rdunlap@infradead.org>
Link: https://lore.kernel.org/r/20250620114440.4080938-1-arnd@kernel.org
Signed-off-by: Lee Jones <lee@kernel.org>
2025-07-01 14:26:03 +01:00
..
Kconfig leds: tps6131x: Add V4L2_FLASH_LED_CLASS dependency 2025-07-01 14:26:03 +01:00
leds-aat1290.c leds: Switch back to struct platform_driver::remove() 2024-10-15 09:58:10 +01:00
leds-as3645a.c leds: as3645a: Use device_* to iterate over device child nodes 2024-08-22 14:48:02 +01:00
leds-ktd2692.c module: Convert symbol namespace to string literal 2024-12-02 11:34:44 -08:00
leds-lm3601x.c leds: lm3601x: Reset LED controller during probe 2024-08-05 15:15:27 +01:00
leds-max77693.c leds: Switch back to struct platform_driver::remove() 2024-10-15 09:58:10 +01:00
leds-mt6360.c leds: Switch back to struct platform_driver::remove() 2024-10-15 09:58:10 +01:00
leds-mt6370-flash.c leds: flash: mt6370: Switch to device_for_each_child_node_scoped() 2024-10-09 15:16:23 +01:00
leds-qcom-flash.c leds: flash: leds-qcom-flash: Fix registry access after re-bind 2025-06-13 14:41:34 +01:00
leds-rt4505.c leds: rt4505: Add MODULE_DESCRIPTION() 2024-06-21 11:57:13 +01:00
leds-rt8515.c treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00
leds-sgm3140.c treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00
leds-sy7802.c leds: sy7802: Add support for Silergy SY7802 flash LED controller 2024-06-26 17:04:39 +01:00
leds-tps6131x.c leds: tps6131x: Add support for Texas Instruments TPS6131X flash LED driver 2025-05-22 09:24:51 +01:00
Makefile leds: tps6131x: Add support for Texas Instruments TPS6131X flash LED driver 2025-05-22 09:24:51 +01:00