summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2026-03-16 19:24:37 -0600
committerTom Rini <[email protected]>2026-03-30 15:02:27 -0600
commit292f1b974b2f2076325ca5648fca1db9eb2366ea (patch)
tree799fe5a2cc689904ca85becb8bc3678b3d6fd8c7
parentc40e539c77fbd3b68168c995f3dda64548b033d6 (diff)
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. Reviewed-by: Casey Connolly <[email protected]> Signed-off-by: Tom Rini <[email protected]>
-rw-r--r--drivers/input/Kconfig3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/input/Kconfig b/drivers/input/Kconfig
index 47ce0ea690f..5bf122c5505 100644
--- a/drivers/input/Kconfig
+++ b/drivers/input/Kconfig
@@ -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