diff mbox series

[05/22] button: gpio: add DM_GPIO dependency

Message ID 20220817193809.1059688-6-michael@walle.cc
State Accepted
Commit 1b34339c5064b2527bc597382bffe39694025d8a
Delegated to: Stefan Roese
Headers show
Series board: lsxl: major update and DM conversion | expand

Commit Message

Michael Walle Aug. 17, 2022, 7:37 p.m. UTC
The gpio-button driver depends on DM_GPIO, add it to Kconfig to avoid
build errors.

Signed-off-by: Michael Walle <michael@walle.cc>
---
 drivers/button/Kconfig | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

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.