Skip to content

Commit f938668

Browse files
henrikbrixandersenkartben
authored andcommitted
drivers: led: gpio: select the GPIO Kconfig option
Have the GPIO LED driver select CONFIG_GPIO instead of depending on it. Signed-off-by: Henrik Brix Andersen <[email protected]>
1 parent b10c6e3 commit f938668

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

drivers/led/Kconfig.gpio

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
config LED_GPIO
55
bool "GPIO LED driver"
66
default y
7-
depends on GPIO && DT_HAS_GPIO_LEDS_ENABLED
7+
depends on DT_HAS_GPIO_LEDS_ENABLED
8+
select GPIO
89
help
910
Enable driver for GPIO LEDs.

0 commit comments

Comments
 (0)