From 95996c7bbef4d78ed2cad6d906f6b37a83bb0ddb Mon Sep 17 00:00:00 2001 From: Chen Xingyu Date: Tue, 28 Jan 2025 18:39:43 +0800 Subject: [PATCH] drivers: display: Select LED_STRIP when LED_STRIP_MATRIX is enabled The LED_STRIP driver is not enabled by default on all boards. As a result, building the LED_STRIP_MATRIX display driver fails if LED_STRIP is not manually enabled. To address this, this commit changes the dependency from `depends on` to `select`, ensuring that the required driver is automatically enabled and build failures are avoided. Signed-off-by: Chen Xingyu --- drivers/display/Kconfig.led_strip_matrix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/display/Kconfig.led_strip_matrix b/drivers/display/Kconfig.led_strip_matrix index 1230a83ce67..a3dbacca0d9 100644 --- a/drivers/display/Kconfig.led_strip_matrix +++ b/drivers/display/Kconfig.led_strip_matrix @@ -5,7 +5,7 @@ config LED_STRIP_MATRIX bool "LED strip matrix display driver" default y depends on DT_HAS_LED_STRIP_MATRIX_ENABLED - depends on LED_STRIP + select LED_STRIP help Enable LED strip matrix display (LED strip arranged in a grid pattern) driver.