mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] pcf857x: fix CONFIG_OF to OFDEVICE
@ 2019-06-14 20:37 Michael Grzeschik
  2019-06-17 12:22 ` Sascha Hauer
  0 siblings, 1 reply; 2+ messages in thread
From: Michael Grzeschik @ 2019-06-14 20:37 UTC (permalink / raw)
  To: barebox

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

Signed-off-by: Michael Grzeschik <m.grzeschik@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
 	help
 	  Say yes here to provide access to most "quasi-bidirectional" I2C
 	  GPIO expanders used for additional digital outputs or inputs.
-- 
2.20.1


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] pcf857x: fix CONFIG_OF to OFDEVICE
  2019-06-14 20:37 [PATCH] pcf857x: fix CONFIG_OF to OFDEVICE Michael Grzeschik
@ 2019-06-17 12:22 ` Sascha Hauer
  0 siblings, 0 replies; 2+ messages in thread
From: Sascha Hauer @ 2019-06-17 12:22 UTC (permalink / raw)
  To: Michael Grzeschik; +Cc: barebox

On Fri, Jun 14, 2019 at 10:37:26PM +0200, Michael Grzeschik wrote:
> There is not CONFIG_OF symbol. We fix this
> by using OFDEVICE instead.
> 
> Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de>
> ---
>  drivers/gpio/Kconfig | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Applied, thanks

Sascha

> 
> 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.
> -- 
> 2.20.1
> 
> 
> _______________________________________________
> barebox mailing list
> barebox@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
> 

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-06-17 12:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-14 20:37 [PATCH] pcf857x: fix CONFIG_OF to OFDEVICE Michael Grzeschik
2019-06-17 12:22 ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox