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>
This commit is contained in:
parent
e9e73d78a8
commit
1b34339c50
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user