[PATCH] pcf857x: fix CONFIG_OF to OFDEVICE

Michael Grzeschik m.grzeschik at pengutronix.de
Fri Jun 14 13:37:26 PDT 2019

There is not CONFIG_OF symbol. We fix this
by using OFDEVICE instead.

Signed-off-by: Michael Grzeschik <m.grzeschik at pengutronix.de>
 drivers/gpio/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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
 	  Say yes here to provide access to most "quasi-bidirectional" I2C
 	  GPIO expanders used for additional digital outputs or inputs.

More information about the barebox mailing list