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 <henrik@brixandersen.dk>
This commit is contained in:
Henrik Brix Andersen 2025-01-16 07:22:19 +00:00 committed by Benjamin Cabé
parent b10c6e3e07
commit f9386683a3

View file

@ -4,6 +4,7 @@
config LED_GPIO
bool "GPIO LED driver"
default y
depends on GPIO && DT_HAS_GPIO_LEDS_ENABLED
depends on DT_HAS_GPIO_LEDS_ENABLED
select GPIO
help
Enable driver for GPIO LEDs.