summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--drivers/button/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/button/Kconfig b/drivers/button/Kconfig
index 6db3c5e93a4..8ce2de37d62 100644
--- a/drivers/button/Kconfig
+++ b/drivers/button/Kconfig
@@ -20,6 +20,7 @@ config BUTTON_ADC
config BUTTON_GPIO
bool "Button gpio"
depends on BUTTON
+ depends on DM_GPIO
help
Enable support for buttons which are connected to GPIO lines. These
GPIOs may be on the SoC or some other device which provides GPIOs.