[PATCH] of: gpio: Fix Kconfig variables to depend on

Alexander Aring alex.aring at gmail.com
Wed Dec 11 22:31:27 EST 2013


On Thu, Dec 12, 2013 at 01:29:55AM +0400, Antony Pavlov wrote:
> Signed-off-by: Antony Pavlov <antonynpavlov at gmail.com>
> ---
>  drivers/of/Kconfig | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/of/Kconfig b/drivers/of/Kconfig
> index cdf7ac7..c4525cb 100644
> --- a/drivers/of/Kconfig
> +++ b/drivers/of/Kconfig
> @@ -20,8 +20,8 @@ config OF_NET
>  	def_bool y
>  
>  config OF_GPIO
> -	depends on CONFIG_GPIOLIB
> -	depends on CONFIG_OFDEVICE
> +	depends on GPIOLIB
> +	depends on OFDEVICE
>  	def_bool y

another nice catch! I do the this mistake quite often myself, then I
realize it. :-)

- Alex



More information about the barebox mailing list