input: Correct dependencies for BUTTON_KEYBOARD

As exposed by "make randconfig", we have an issue with the dependencies
for BUTTON_KEYBOARD. This needs to also depend on DM_GPIO, and then
select BUTTON as well as BUTTON_GPIO, in order to meet all its
requirements.

Signed-off-by: Tom Rini <trini@konsulko.com>
---
Cc: Casey Connolly <casey.connolly@linaro.org>
This commit is contained in:
Tom Rini 2026-03-16 15:03:20 -06:00
parent a2aa8893a0
commit 3c1f96cbcb

View File

@ -48,7 +48,8 @@ config APPLE_SPI_KEYB
config BUTTON_KEYBOARD
bool "Buttons as keyboard"
depends on DM_KEYBOARD
depends on DM_KEYBOARD && DM_GPIO
select BUTTON
select BUTTON_GPIO
help
Enable support for mapping buttons to keycode events. Use linux,code button driver