projects
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e9e73d7
)
button: gpio: add DM_GPIO dependency
author
Michael Walle
<michael@walle.cc>
Wed, 17 Aug 2022 19:37:52 +0000
(21:37 +0200)
committer
Stefan Roese
<sr@denx.de>
Tue, 23 Aug 2022 10:39:06 +0000
(12:39 +0200)
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>
drivers/button/Kconfig
patch
|
blob
|
history
diff --git
a/drivers/button/Kconfig
b/drivers/button/Kconfig
index 6db3c5e93a48557e8cd882fbba9252cf91efa304..8ce2de37d62a2791c10ccb508936574e162ea7b1 100644
(file)
--- 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.