summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Grzeschik <m.grzeschik@pengutronix.de>2019-06-14 22:37:26 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2019-06-17 14:22:25 +0200
commit42cc7a3e925eb47563a59045738a82725e1fad8a (patch)
tree33d83b480fb27a0f7ccee0942eecce37db67868d
parentafa8665f9f1a5666c63db762fcad53e7425126ef (diff)
downloadbarebox-42cc7a3e925eb47563a59045738a82725e1fad8a.tar.gz
barebox-42cc7a3e925eb47563a59045738a82725e1fad8a.tar.xz
pcf857x: fix CONFIG_OF to OFDEVICE
There is not CONFIG_OF symbol. We fix this by using OFDEVICE instead. Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r--drivers/gpio/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
index 6a4de7fbc8..7a1503198b 100644
--- a/drivers/gpio/Kconfig
+++ b/drivers/gpio/Kconfig
@@ -101,7 +101,7 @@ config GPIO_PCA953X
config GPIO_PCF857X
tristate "PCF857x, PCA{85,96}7x, and MAX732[89] I2C GPIO expanders"
depends on I2C
- depends on CONFIG_OF
+ depends on OFDEVICE
help
Say yes here to provide access to most "quasi-bidirectional" I2C
GPIO expanders used for additional digital outputs or inputs.