drivers: input: gpio_keys: select GPIO

Instead of depending on GPIO. This allows to just enable
CONFIG_INPUT=y + DT node in the application layer. The same
pattern is nowadays followed by most drivers.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
This commit is contained in:
Gerard Marull-Paretas
2024-11-26 20:48:56 +01:00
committed by Benjamin Cabé
parent 113875d53c
commit f812de2026

View File

@@ -5,6 +5,6 @@ config INPUT_GPIO_KEYS
bool "GPIO Keys input driver"
default y
depends on DT_HAS_GPIO_KEYS_ENABLED
depends on GPIO
select GPIO
help
Enable support for GPIO Keys input driver.