Skip to content

Commit 95996c7

Browse files
xingrzkartben
authored andcommitted
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 <[email protected]>
1 parent a6bfd92 commit 95996c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/display/Kconfig.led_strip_matrix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ config LED_STRIP_MATRIX
55
bool "LED strip matrix display driver"
66
default y
77
depends on DT_HAS_LED_STRIP_MATRIX_ENABLED
8-
depends on LED_STRIP
8+
select LED_STRIP
99
help
1010
Enable LED strip matrix display (LED strip arranged in
1111
a grid pattern) driver.

0 commit comments

Comments
 (0)