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:
parent
b10c6e3e07
commit
f9386683a3
1 changed files with 2 additions and 1 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Reference in a new issue