[PATCH] of: gpio: Add Kconfig variable to depend on

Sascha Hauer s.hauer at pengutronix.de
Wed Nov 27 02:53:26 EST 2013


On Sat, Nov 23, 2013 at 07:21:38AM +0100, Alexander Aring wrote:
> Hi Sascha,
> 
> On Fri, Nov 22, 2013 at 03:55:22PM +0100, Sascha Hauer wrote:
> > Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
> > ---
> >  drivers/of/Kconfig  | 5 +++++
> >  drivers/of/Makefile | 2 +-
> >  include/of_gpio.h   | 6 +++---
> >  3 files changed, 9 insertions(+), 4 deletions(-)
> > 
> > diff --git a/drivers/of/Kconfig b/drivers/of/Kconfig
> > index 6b893d7..cdf7ac7 100644
> > --- a/drivers/of/Kconfig
> > +++ b/drivers/of/Kconfig
> > @@ -19,6 +19,11 @@ config OF_NET
> >  	depends on NET
> >  	def_bool y
> >  
> > +config OF_GPIO
> > +	depends on CONFIG_GPIOLIB
> > +	depends on CONFIG_OFDEVICE
> > +	def_bool y
> 
> On current next branch the "def_bool y" is missing, so I get:
> 
> drivers/of/Kconfig:22:warning: config symbol defined without type
> 
> I will send a patch soon...

I fixed this by using the correct patch. The wrong one leaked in by
accident.

Sascha

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