Commit d5fbcd57 authored by Alexey Brodkin's avatar Alexey Brodkin Committed by Alexey Brodkin

gpio/hsdk: Depend on DM_GPIO instead of simple DM

This driver really is DM GPIO one and so we need to have a correct
dependency, because DM alone doesn't provide required for CMD_GPIO
call and we're seeing build failures like this:
---------------------->8---------------------
cmd/built-in.o: In function 'do_gpio':
.../cmd/gpio.c:188: undefined reference to 'gpio_request'
...
---------------------->8---------------------
Signed-off-by: default avatarAlexey Brodkin <[email protected]>
Cc: Eugeniy Paltsev <[email protected]>
Cc: Simon Glass <[email protected]>
Reviewed-by: default avatarSimon Glass <[email protected]>
parent 87f3dee2
......@@ -82,7 +82,7 @@ config IMX_RGPIO2P
config HSDK_CREG_GPIO
bool "HSDK CREG GPIO griver"
depends on DM
depends on DM_GPIO
default n
help
This driver supports CREG GPIOs on Synopsys HSDK SOC.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment