summaryrefslogtreecommitdiff
path: root/drivers/button
diff options
context:
space:
mode:
authorMichael Walle <michael@walle.cc>2022-08-17 22:37:52 +0300
committerStefan Roese <sr@denx.de>2022-08-23 13:39:06 +0300
commit1b34339c5064b2527bc597382bffe39694025d8a (patch)
tree1c32ac4cca4adb2d9ca5a5db9987ad34b5e13853 /drivers/button
parente9e73d78a8fb5566fdb306482945f6c9ff45c2a9 (diff)
downloadu-boot-1b34339c5064b2527bc597382bffe39694025d8a.tar.xz
button: gpio: add DM_GPIO dependency
The gpio-button driver depends on DM_GPIO, add it to Kconfig to avoid build errors. Signed-off-by: Michael Walle <michael@walle.cc> Reviewed-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'drivers/button')
-rw-r--r--drivers/button/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/button/Kconfig b/drivers/button/Kconfig
index 6db3c5e93a..8ce2de37d6 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.