[PATCH] pcf857x: fix CONFIG_OF to OFDEVICE

Sascha Hauer s.hauer at pengutronix.de
Mon Jun 17 05:22:39 PDT 2019


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 at 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 at 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 |



More information about the barebox mailing list