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

Alexander Aring alex.aring at gmail.com
Sat Nov 23 01:21:38 EST 2013


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

- Alex



More information about the barebox mailing list